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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user