Update docs
Ryan Blenis committed
Dec 2, 2019 at 16:09 UTC
7e437330ae3471de530073b8b5d955f577251ce3
1 file changed
+1
-1
plugin_development.md
+1
-1
@@ -60,7 +60,7 @@ These are separated into the following categories depending on the type of funct
60
61
### Web UI Hooks
62
`onDeviceRefeshEnd`: called when a device is selected in the MeshCentral web interface
63
-`registerPluginTab`: called when a device is selected in the MeshCentral web interface to register a new tab for plugin data, if required
63
+`registerPluginTab`: callable when a device is selected in the MeshCentral web interface to register a new tab for plugin data, if required. Accepts an object, or function that returns an object, with the following properties: { tabId: "yourShortNameHere", tabTitle: "Your Display Name"}. A tab and div with the associated ID and title will be created for your use
64
`onDesktopDisconnect`: called when a remote desktop session is disconnected
65
66
#### Exports