@@ -5771,6 +5771,12 @@ Control and change the WebUI global settings.
57715771 //
57725772 // Default: False
57735773 ui_event_blocking,
5774+
5775+ // Automatically refresh the window UI when any file in the
5776+ // root folder gets changed.
5777+ //
5778+ // Default: False
5779+ folder_monitor,
57745780 };
57755781*/
57765782
@@ -5781,8 +5787,9 @@ int main() {
57815787 * @param status The status of the option, `true` or `false`
57825788 */
57835789
5784- webui_config(show_wait_connection, true);
5785- webui_config(ui_event_blocking, false);
5790+ webui_set_config(show_wait_connection, true);
5791+ webui_set_config(ui_event_blocking, false);
5792+ webui_set_config(folder_monitor, true);
57865793}
57875794```
57885795<!-- ---------- -->
@@ -5808,6 +5815,12 @@ int main() {
58085815 //
58095816 // Default: False
58105817 ui_event_blocking,
5818+
5819+ // Automatically refresh the window UI when any file in the
5820+ // root folder gets changed.
5821+ //
5822+ // Default: False
5823+ folder_monitor,
58115824 };
58125825*/
58135826
@@ -5818,8 +5831,9 @@ int main() {
58185831 * @param status The status of the option, `true` or `false`
58195832 */
58205833
5821- webui::config(show_wait_connection, true);
5822- webui::config(ui_event_blocking, false);
5834+ webui::set_config(show_wait_connection, true);
5835+ webui::set_config(ui_event_blocking, false);
5836+ webui::set_config(folder_monitor, true);
58235837}
58245838```
58255839<!-- ---------- -->
@@ -8680,6 +8694,14 @@ Decode base64 string into text.
86808694const str = webui.encode(base64);
86818695```
86828696
8697+ ### JavaScript - isHighContrast
8698+
8699+ Get OS high contrast preference.
8700+
8701+ ```js
8702+ const hc = webui.isHighContrast();
8703+ ```
8704+
86838705### JavaScript - setLogging
86848706
86858707Enable WebUI debug logging in the console logs.
0 commit comments