Updated Creating Plugins (markdown)

Zack 2018-10-08 17:44:39 -04:00
parent 23eb65bc00
commit 0c6403d999
1 changed files with 3 additions and 1 deletions

@ -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.