1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-11-24 17:30:55 +00:00

Update README.md

This commit is contained in:
pcbbc 2022-05-24 12:36:12 +01:00
parent 59633c3f74
commit 834a2a2010

View File

@ -28,6 +28,7 @@ The Library runs on any kind of **ESP8266** and **ESP32** (NodeMCU, AI Thinker,
* [Slider](#slider) * [Slider](#slider)
* [Number Input](#number-input) * [Number Input](#number-input)
* [Text Input](#text-input) * [Text Input](#text-input)
* [Date, Time, Colour and Password Input](#date-time-colour-and-password-input)
* [Select control](#select-control) * [Select control](#select-control)
* [Getting the Time](#getting-the-time) * [Getting the Time](#getting-the-time)
* [Separators](#separators) * [Separators](#separators)
@ -135,6 +136,7 @@ more program memory to work with.
- Control pad - Control pad
- Slider - Slider
- Text Input - Text Input
- Date, Time, Colour and Password Input
- Numberinput - Numberinput
- Option select - Option select
- Separator - Separator
@ -313,6 +315,8 @@ text_password = ESPUI.text("Password", callback, ControlColor::Dark, "tiddles123
ESPUI.setInputType(text_password, "password"); ESPUI.setInputType(text_password, "password");
``` ```
*Important!* This function should be called _before_ `ESPUI.begin` or results will be unreliable.
Note that not all browsers support all input types, and that the control displayed to edit the input is browser dependent. Note that not all browsers support all input types, and that the control displayed to edit the input is browser dependent.
However even with a type set, user input should still be validated However even with a type set, user input should still be validated