Method: Browser::DOM::Node#next_element
- Defined in:
- opal/browser/dom/node.rb
#next_element ⇒ Element? (readonly)
Returns the next element sibling of the node.
367 368 369 370 371 372 373 374 375 |
# File 'opal/browser/dom/node.rb', line 367 def next_element current = self.next while current && !current.element? current = current.next end current end |