plugin:menuext
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
plugin:menuext [2022-11-28 18:44] – [Configuration] Possibly misleading revised Michaelsy | plugin:menuext [2023-03-02 13:52] (current) – annda | ||
---|---|---|---|
Line 7: | Line 7: | ||
type : action | type : action | ||
lastupdate : 2021-07-29 | lastupdate : 2021-07-29 | ||
- | compatible : Hogfather | + | compatible : Hogfather, Igor |
depends | depends | ||
conflicts | conflicts | ||
Line 76: | Line 76: | ||
| action | A standard action (see [[devel: | | action | A standard action (see [[devel: | ||
| classname | Fully qualified class name of a menu item created by a plugin, meaning a class extending '' | | classname | Fully qualified class name of a menu item created by a plugin, meaning a class extending '' | ||
+ | |||
+ | ===== Javascript ===== | ||
+ | |||
+ | You can attach Javascript to your items by specifying the function to be called on click: | ||
+ | |||
+ | < | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Remember, you are in global scope, so your method must be available there. | ||
+ | |||
+ |
plugin/menuext.txt · Last modified: 2023-03-02 13:52 by annda