scripting: soft and hard reload
This commit is contained in:
parent
a77a9c01dd
commit
a90211223f
2 changed files with 6 additions and 4 deletions
|
|
@ -352,8 +352,9 @@ Run `callback` function as if executed by another that widget matches specified
|
|||
|
||||
----
|
||||
|
||||
#### `reload()`
|
||||
#### `reload(keepState)`
|
||||
- `keepState` (optional): `true` by default, set to false to discard the client's state.
|
||||
|
||||
Reload the client application (retains session and state). Cannot be called from the `onCreate` property.
|
||||
Reload the client application. Cannot be called from the `onCreate` property.
|
||||
|
||||
If the event that triggered the script's execution was not initiated by a user interaction, this function will have no effect.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue