1
0
mirror of https://github.com/s00500/ESPUI.git synced 2026-02-05 22:12:40 +00:00

feat: Add support for user-defined panel CSS classes.

This commit is contained in:
Mike Burton
2025-11-29 08:10:17 -08:00
parent d9412d9d3c
commit 289fdb2ad7
15 changed files with 106 additions and 130 deletions

View File

@@ -154,6 +154,7 @@ bool Control::MarshalControl(JsonObject & _item,
item[F("enabled")] = enabled;
if (!panelStyle.isEmpty()) {item[F("panelStyle")] = panelStyle;}
if (!panelClass.isEmpty()) {item[F("panelClass")] = panelClass;}
if (!elementStyle.isEmpty()) {item[F("elementStyle")] = elementStyle;}
if (!inputType.isEmpty()) {item[F("inputType")] = inputType;}
if (wide == true) {item[F("wide")] = true;}