OFF
EngineEvents
Removes event handlers.
Example
Code
Parameters
- eventType: string
- fieldKeyOrCallback: string|function (optional)
- callback: function (optional)
Returns
Operation descriptor (used by clients).
Try it
You need form0-cli. All event builtin pages use the same test form.
-
Download the form and start the preview:
Code -
Open
http://localhost:3030. -
Choose Rome in City. An alert opens. Click OK.
-
Under Stop the city alert, select Yes. That field's handler calls
OFF("change", "city"). -
Choose Paris in City. No alert opens.
Last modified on