reset
Disables events, removes all objects from the control list and prepares the control for the next screen. It also resets all properties set with setProperty to their defaults.
await wizCtl.reset(clear)
| Parameter | Description |
|---|---|
| clear | If true, clears the pad screen. If false, only the properties are reset and the current display is not changed. (Optional, default true) |
| Return values |
|---|
| A promise that resolves when the reset is complete. |
Calling reset() is the same as calling reset(true).
Because reset restores the default properties, set properties such as mirrorDiv, encrypted and forceMonochrome again after each call.