Module: Browser::DOM::Element::Custom::Mixin
- Included in:
- Browser::DOM::Element::Custom
- Defined in:
- opal/browser/dom/element/custom.rb
Instance Method Summary collapse
- #adopted ⇒ Object abstract
- #attached ⇒ Object abstract
-
#attribute_changed(attr, from, to) ⇒ Object
abstract
Note: for this method to fire, you will need to define the observed attributes.
-
#custom? ⇒ Boolean
Return true if the node is a custom element.
- #detached ⇒ Object abstract
Instance Method Details
#adopted ⇒ Object
This method is abstract.
142 143 |
# File 'opal/browser/dom/element/custom.rb', line 142 def adopted end |
#attached ⇒ Object
This method is abstract.
134 135 |
# File 'opal/browser/dom/element/custom.rb', line 134 def attached end |
#attribute_changed(attr, from, to) ⇒ Object
This method is abstract.
Note: for this method to fire, you will need to define the observed attributes.
149 150 |
# File 'opal/browser/dom/element/custom.rb', line 149 def attribute_changed(attr, from, to) end |
#custom? ⇒ Boolean
Return true if the node is a custom element.
153 154 155 |
# File 'opal/browser/dom/element/custom.rb', line 153 def custom? true end |
#detached ⇒ Object
This method is abstract.
138 139 |
# File 'opal/browser/dom/element/custom.rb', line 138 def detached end |