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