1
0
mirror of https://github.com/s00500/ESPUI.git synced 2025-11-27 23:03:16 +00:00

remove unnecessary example

This commit is contained in:
Mike Burton
2025-11-20 08:11:02 -08:00
parent 0b16da9856
commit a20fe6a4d6

View File

@@ -684,15 +684,7 @@ void setup() {
}
```
The custom JavaScript is served at `/js/custom.js` and is automatically included in the `index.htm` file. You can use this to interact with the UI elements, handle events, and create new UI components. For example, you can use `zepto.js` to listen for clicks on a button:
```cpp
const char* myCustomJS = R"=====(
$(document).on('click', '#my-button', function() {
alert('Button clicked!');
});
)=====";
```
The custom JavaScript is served at `/js/custom.js` and is automatically included in the `index.htm` file.
# Notes for Development