UI.Reset
| Name |
Mandatory |
Description |
Default |
Type |
⬅️ Input |
|
The value is ignored. |
|
Any |
Output ➡️ |
|
The output of this shard will be its input. |
|
Any |
Forgets UI scroll, position, size changes, etc.
Examples
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 | @wire(ui-wire {
UI.TopPanel(
Contents:
UI.MenuBar(
UI.Menu(
Title: "File"
Contents:
UI.Tooltip(
Contents:
UI.Button("Reset UI memory" UI.Reset)
OnHover:
{
"Forget scroll, positions, sizes, etc." | UI.Label
}
)
)
)
)
} Looped: true)
{ui-behavior: ui-wire}
|