Class: DOM::Fragment

Inherits:
NODE show all
Defined in:
opal/fron/dom/fragment.rb

Overview

Fragment

Instance Attribute Summary

Attributes included from Events

#listeners

Instance Method Summary collapse

Methods inherited from NODE

#<<, #<=>, #==, #>>, #children, #dup, #dup!, #empty, #empty?, fromNode, getElement, #index, #insertBefore, #normalize!, #parent, #parentNode, #remove, #remove!, #text, #text=

Methods included from Events

#addListener, #delegate, #off, #on, #on!, #removeListeners, #trigger

Constructor Details

#initializeFragment

Initializes the document fragment


5
6
7
# File 'opal/fron/dom/fragment.rb', line 5

def initialize
  @el = `document.createDocumentFragment()`
end