Method: Browser::DOM::Node#child
- Defined in:
- opal/browser/dom/node.rb
#child ⇒ Node? (readonly)
Returns the first child of the node.
266 267 268 |
# File 'opal/browser/dom/node.rb', line 266 def child children.first end |
Returns the first child of the node.
266 267 268 |
# File 'opal/browser/dom/node.rb', line 266 def child children.first end |