|
@ -119,4 +119,5 @@ With the function `register_hook` you can hook into several functions. The follo |
|
|
* `state-get`: modules can add values into the current state. Parameters: `state`: an object, which can be modified by modules. |
|
|
* `state-get`: modules can add values into the current state. Parameters: `state`: an object, which can be modified by modules. |
|
|
* `state-apply`: when a state is applied to the app. Parameters: `state`: state which should be applied. |
|
|
* `state-apply`: when a state is applied to the app. Parameters: `state`: state which should be applied. |
|
|
* `show-details`: called when details are being displayed. Parameters: data (see properties in doc/TwigJS.md), category, dom, callback. |
|
|
* `show-details`: called when details are being displayed. Parameters: data (see properties in doc/TwigJS.md), category, dom, callback. |
|
|
|
|
|
* `show-popup`: called when a popup is being displayed. Parameters: data (see properties in doc/TwigJS.md), category, dom, callback. |
|
|
* `options_save`: called when options are saved. Parameters: options (the new object), old_options (before save) |
|
|
* `options_save`: called when options are saved. Parameters: options (the new object), old_options (before save) |