Updated Creating Plugins (markdown)
parent
23eb65bc00
commit
0c6403d999
|
@ -63,7 +63,9 @@ Called when the plugin is disabled.
|
|||
These functions can be useful but aren't necessary for the plugin to load and function.
|
||||
|
||||
#### `getSettingsPanel()`
|
||||
Called when the user clicks on the settings button for the plugin.
|
||||
Called when the user clicks on the settings button for the plugin. If this function is not implemented the button is not shown.
|
||||
|
||||
Note: The button will be disabled if the plugin is disabled to avoid errors with not-started plugins.
|
||||
|
||||
**@Returns** `{String|HTMLElement}` - either a valid string containing the html for the panel or an actual element to be injected into the settings panel.
|
||||
|
||||
|
|
Loading…
Reference in New Issue