(void): voidThe Reset actions resets a context to the state it was in just after the onInit event was executed. This clears the user's inputs.
The
Resetaction resets the state to the state before theonEnterevent is executed, and theonEnterevent is not executed after the reset happens. This might cause unexpected behavior if you used anonEnterevent to initialize the state.
Parameters
The Reset action does not take any parameters.
Examples
A reset button:
- id: reset_button
type: Button
properties:
title: Reset
events:
onClick:
- id: reset
type: Reset