Events and Handlers¶
The Form component has the following events and handlers available for use:
Events¶
Event |
Description |
---|---|
On Before Mount |
Triggers immediately before the component is mounted and appeared on the page. |
On Mounted |
Triggers immediately after the component is mounted and appeared on the page. |
On Before Unmount |
Triggers immediately before the component is unmounted and destroyed. Perform any necessary cleanup in this method, such as invalidating timers or cleaning up any RT subscriptions that were created in this component. |
On Visibility Change |
Gets activated when the visibility state of the component is altered. You can use this event to define actions that need to take place when the component becomes visible or hidden. |
On Submit Event |
Triggers when the form is submitted: Submit button is clicked or enter is pressed in a form input component. |
On Reset Event |
Triggers when the form gets reset: The Reset button is clicked. |