Element

APIDocumentElement

Source

Element.fromHTML(html)

Parameters:
  • html — String
Returns:
Element

Source

Element.fromJSON(json)

Parameters:
  • json — String or Array
Returns:
Element

Source

Element::constructor()

Returns:
Element

Source

Element::index

Type:
Integer

Source

Element::nextSibling

Type:
Element

Source

Element::previousSibling

Type:
Element

Source

Element::parent

Type:
Element

Source

Element::onParentChange(oldValue)

Parameters:
  • oldValue — Element
Type:
Signal

Source

Element::style

Type:
Renderer.Item

Source

Element::onStyleChange(oldValue)

Parameters:
  • oldValue — Renderer.Item
Type:
Signal

Source

Element::visible

Type:
Boolean

Source

Element::onVisibleChange(oldValue)

Parameters:
  • oldValue — Boolean
Type:
Signal

Source

Element::queryAllParents(query)

Parameters:
  • query — String
Returns:
Array

Source

Element::queryParents(query)

Parameters:
  • query — String
Returns:
Element

Source

Element::getAccessPath(toParent)

Parameters:
  • toParent — Tagoptional
Returns:
Array

Source

Element::clone()

Returns:
Element

Source

Element::toJSON()

Returns:
Array

Source