Class: DOM::Fragment
Overview
Fragment
Instance Attribute Summary
Attributes included from Events
Instance Method Summary collapse
-
#initialize ⇒ Fragment
constructor
Initializes the document fragment.
Methods inherited from NODE
#<<, #<=>, #==, #>>, #children, #dup, #dup!, #empty, #empty?, from_node, get_element, #index, #insert_before, #normalize!, #parent, #parent_node, #remove, #remove!, #text, #text=
Methods included from Events
#add_listener, #delegate, #off, #old_trigger, #on, #on!, #remove_listeners, #trigger
Constructor Details
#initialize ⇒ Fragment
Initializes the document fragment
5 6 7 |
# File 'opal/fron/dom/fragment.rb', line 5 def initialize @el = `document.createDocumentFragment()` end |