1
0
mirror of https://github.com/s00500/ESPUI.git synced 2026-01-16 18:46:21 +00:00

update for clarity

This commit is contained in:
Mike Burton
2025-11-29 09:24:50 -08:00
parent cea38b4b50
commit f990016623

View File

@@ -537,8 +537,6 @@ Switcher, Number, Text, and Selector.
Dynamic update of styles is supported. When either of the above functions are called, the control is updated live. This could Dynamic update of styles is supported. When either of the above functions are called, the control is updated live. This could
be used to refect a warning state by changing the color of a button, or for similar effects. be used to refect a warning state by changing the color of a button, or for similar effects.
You can also add custom CSS classes to the panel of a control using `setPanelClass`. This allows you to apply predefined CSS classes to your controls.
For example, this code will set a control's panel to a random background color: For example, this code will set a control's panel to a random background color:
``` ```
@@ -555,6 +553,8 @@ The [completeExample](examples/completeExample/completeExample.cpp) example incl
![More Inline Styles](docs/ui_inlinestyles2.png) ![More Inline Styles](docs/ui_inlinestyles2.png)
You can also add custom CSS classes to the panel of a control using `setPanelClass`. This allows you to apply arbitrary CSS classes to your controls.
### Disabling Controls ### Disabling Controls