s00500 / ESPUI

A simple web user interface library for ESP32 and ESP8266

Home Page:https://valencia.lbsfilm.at/midterm-presentation/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Just a question.

nodoubtman opened this issue · comments

Just a question: How do i update only one element with jsonDom();

i used to use ESPUI.jsonDom(0);

but if i can do better, why not?


I’m not sure I understand what you’re asking.

jsonDom will resend the entire UI. We tend to not use that for updating just one control because it has to redraw the entire UI.

Incidentally, rather than calling jsonDom the function that is supposed to be used for reloading the UI isESPUI.jsonReload().