1
0
mirror of https://github.com/s00500/ESPUI.git synced 2025-07-04 11:20:19 +00:00

Chunk updates

This commit is contained in:
Ian Gray
2022-01-01 22:04:32 +00:00
committed by Lukas Bachschwell
parent 8331255355
commit 06460fcc4d
5 changed files with 63 additions and 39 deletions

View File

@ -77,11 +77,13 @@ enum ControlType : uint8_t
UpdateAccel,
InitialGui = 200,
Reload = 201
Reload = 201,
ExtendGUI = 210
};
#define UI_INITIAL_GUI ControlType::InitialGui
#define UI_RELOAD ControlType::Reload
#define UI_EXTEND_GUI ControlType::ExtendGUI
#define UI_TITLE ControlType::Title
#define UI_LABEL ControlType::Label
@ -294,6 +296,8 @@ private:
const char* basicAuthUsername = nullptr;
const char* basicAuthPassword = nullptr;
bool basicAuth = true;
Control *prepareJSONChunk(AsyncWebSocketClient* client, Control *control, JsonArray *items);
};
extern ESPUIClass ESPUI;