mirror of
https://github.com/s00500/ESPUI.git
synced 2024-12-23 05:50:49 +00:00
added ESPUI::updateLabel (works like ESPUI::print)
This commit is contained in:
parent
6810f7432f
commit
37ce571b9c
@ -533,6 +533,14 @@ void ESPUIClass::print( String label, String value ) {
|
||||
updateControl( label, value );
|
||||
}
|
||||
|
||||
void ESPUIClass::updateLabel( int id, String value ) {
|
||||
updateControl( id, value );
|
||||
}
|
||||
|
||||
void ESPUIClass::updateLabel( String label, String value ) {
|
||||
updateControl( label, value );
|
||||
}
|
||||
|
||||
void ESPUIClass::updateSlider( int id, int nValue, int clientId ) {
|
||||
updateControl( id, String( nValue ), clientId );
|
||||
}
|
||||
|
@ -212,6 +212,9 @@ class ESPUIClass {
|
||||
void print( int id, String value );
|
||||
void print( String label, String value );
|
||||
|
||||
void updateLabel( int id, String value );
|
||||
void updateLabel( String label, String value );
|
||||
|
||||
void updateSwitcher( int id, bool nValue, int clientId = -1 );
|
||||
void updateSwitcher( String label, bool nValue, int clientId = -1 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user