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:
@@ -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
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user