From 24109443233afe0c3def9a904c0d4b78564ec35f Mon Sep 17 00:00:00 2001 From: cgb Date: Wed, 2 Feb 2022 22:28:37 +1030 Subject: [PATCH] Fix typo for hook onDeviceRefreshEnd --- plugin_development.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin_development.md b/plugin_development.md index e45c1769..f93066fe 100644 --- a/plugin_development.md +++ b/plugin_development.md @@ -59,7 +59,7 @@ These are separated into the following categories depending on the type of funct - Mesh Agent (Node), to introduce functionality to each agent ### Web UI Hooks -`onDeviceRefeshEnd`: called when a device is selected in the MeshCentral web interface +`onDeviceRefreshEnd`: called when a device is selected in the MeshCentral web interface `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 `onDesktopDisconnect`: called when a remote desktop session is disconnected `onWebUIStartupEnd`: called when the page has loaded for the first time after a login / refresh @@ -89,4 +89,4 @@ Versioning your plugin correctly and consistently is essential to ensure users o A changelog is highly recommended so that your users know what's changed since their last version. ## Sample Plugin -[MeshCentral-Sample](https://github.com/ryanblenis/MeshCentral-Sample) is a simple plugin that, upon disconnecting from remote desktop, prompts the user to enter a manual event (note), pre-filled in with the date and timestamp. \ No newline at end of file +[MeshCentral-Sample](https://github.com/ryanblenis/MeshCentral-Sample) is a simple plugin that, upon disconnecting from remote desktop, prompts the user to enter a manual event (note), pre-filled in with the date and timestamp.