feat: module hover options

Resolves #70.
This commit is contained in:
Jake Stanger
2023-04-01 13:29:40 +01:00
parent 80a414ab67
commit 102d2478a9
3 changed files with 33 additions and 11 deletions

View File

@@ -296,4 +296,6 @@ For information on the `Script` type, and embedding scripts in strings, see [her
| `on_click_right` | `Script [oneshot]` | `null` | Runs the script when the module is right clicked. |
| `on_scroll_up` | `Script [oneshot]` | `null` | Runs the script when the module is scroll up on. |
| `on_scroll_down` | `Script [oneshot]` | `null` | Runs the script when the module is scrolled down on. |
| `on_mouse_enter` | `Script [oneshot]` | `null` | Runs the script when the module is hovered over. |
| `on_mouse_exit` | `Script [oneshot]` | `null` | Runs the script when the module is no longer hovered over. |
| `tooltip` | `string` | `null` | Shows this text on hover. Supports embedding scripts between `{{double braces}}`. |