The xforms-reset event
Release 2.0 - ...
Dispatched in response to: a user request to reset the model.
Event Properties
| Event Properties | Value / Description |
|---|---|
| Target | model |
| Bubbles | Yes |
| Cancelable | Yes |
| Context Info | None |
The default action for this event results in the following:
- The instance data is reset to the tree structure and values it had immediately after having processed the xforms-ready event. Then, the events xforms-rebuild, xforms-recalculate, xforms-revalidate and xforms-refresh are dispatched to the model element in sequence.
Example
| XML |
|
|---|---|
<xforms:action ev:event="xforms-reset"> <xforms:message level="modal">xforms-reset</xforms:message> </xforms:action> |
|
Specification
Link to the XForms specification: the xforms-reset event.