1
0
mirror of https://github.com/s00500/ESPUI.git synced 2025-07-04 06:10:18 +00:00

send button value for button text

This commit is contained in:
2017-11-13 17:22:02 +01:00
parent 3c26def22a
commit 6d206d21f9
2 changed files with 8 additions and 2 deletions

View File

@ -63,7 +63,7 @@ void begin(const char* _title); // Setup servers and page
// Creating Elements
void label(const char* label, String value = ""); // Create Label
void button(const char* label, void (* callBack)(Control*, int)); // Create Event Button
void button(const char* label, void (* callBack)(Control*, int), String value = ""); // Create Event Button
void switcher(const char* label, bool startState, void (* callBack)(Control*, int)); // Create Toggle Button
void pad(const char* label, bool centerButton, void (* callBack)(Control*, int)); // Create Pad Control