DOMSelectorViewMode

From Virtual World Web Wiki
Jump to: navigation, search

Sets a DOMSelectorView's run mode

Remarks [edit]

Enum Values

Snapshot = 0
Gets a snapshot of all the matching nodes at or below root, but does not update it
ListenTree = 1
Listens for node add / remove events and keeps the list up to date
ListenAll = 2
Listens for any node or property change and efficiently re-evaluates the match list. All efforts are made to keep the CPU cost down, but this is an expensive mode best not applied to large trees with a large or complex selector.