1
0
mirror of https://github.com/s00500/ESPUI.git synced 2025-09-15 03:52:08 +00:00

Support update of Button text

This commit is contained in:
Ian Gray
2022-01-16 14:47:41 +00:00
parent bc6e2bb8af
commit 55b291eb50
5 changed files with 9 additions and 3 deletions

View File

@@ -906,6 +906,10 @@ void ESPUIClass::updateLabel(uint16_t id, const String& value)
updateControlValue(id, value);
}
void ESPUIClass::updateButton(uint16_t id, const String& value) {
updateControlValue(id, value);
}
void ESPUIClass::updateSlider(uint16_t id, int nValue, int clientId)
{
updateControlValue(id, String(nValue), clientId);