Bind¶
Attaches a change event handler on the specified xpath resulting nodes.
1 |
|
Attaches a change event handler on the specified xpath resulting nodes.
1 |
|
Parameters¶
(e: XmlEvent) => void callback
Callback function to be executed.
string xpath
XPath of nodes to be attached. If not specified, the current node is selected.
Remarks¶
This method is only available on the client side scripts like Form scripts.
Bind method only attaches to an already existing nodes. To receive notifications for existing and nodes created in the future, please use Xml.Live method.
This method is only available on the client side scripts like Form scripts.
Bind method only attaches to an already existing nodes. To receive notifications for existing and nodes created in the future, please use Xml.Live method.
Receive an alert for changing a node¶
1 2 3 |
|
Receive an alert for any change on current document¶
1 2 3 |
|