Represents states of DOM elements.
To access state collection of the element use its state property: element.state
el.state.focus = true;
el.state.popup = false;
el.popup(elementToPopup, pos);
will cause this flag to be set for the element el.
el.request(...)
and that data is not delivered yet.Element.refresh()
was issued for it. Sciter sets this flag autmatically. It also resets it when the element gets drawn on the screen. In between you can set/reset it from code.
#vertical,
#horizontal,
#horizontal-flow,
#vertical-flow,
#grid,
#table,
#table-fixed,
#stack,
#text,
#table-row,
#table-body,
#columns,
#null,
#image,
#svg,
#svg-child or
undefined
(if element is inline or display-none).
Returns integer - "ORed" set of Element.STATE_*** constants.
Sets flags. flags here "ORed" set of Element.STATE_*** constants.
Clears flags.