1
0
mirror of https://github.com/s00500/ESPUI.git synced 2025-11-28 04:13:16 +00:00

Add ability to set custom js at /js/custom.js

This commit is contained in:
Mike Burton
2025-11-18 08:01:10 -08:00
parent 4e32746159
commit 47c4430a86
2 changed files with 21 additions and 0 deletions

View File

@@ -201,6 +201,9 @@ public:
void updateVisibility(uint16_t id, bool visibility, int clientId = -1);
// Set optional global custom JavaScript to be included in the UI.
void setCustomJS(const char* js);
// Variables
const char* ui_title = "ESPUI"; // Store UI Title and Header Name
Control* controls = nullptr;