Skip to content

Commit

Permalink
Update C/C++ docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hassandraga committed Jun 26, 2024
1 parent acc252e commit a2de3df
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions server/docs/2.5/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5771,6 +5771,12 @@ Control and change the WebUI global settings.
//
// Default: False
ui_event_blocking,
// Automatically refresh the window UI when any file in the
// root folder gets changed.
//
// Default: False
folder_monitor,
};
*/
Expand All @@ -5781,8 +5787,9 @@ int main() {
* @param status The status of the option, `true` or `false`
*/
webui_config(show_wait_connection, true);
webui_config(ui_event_blocking, false);
webui_set_config(show_wait_connection, true);
webui_set_config(ui_event_blocking, false);
webui_set_config(folder_monitor, true);
}
```
<!-- ---------- -->
Expand All @@ -5808,6 +5815,12 @@ int main() {
//
// Default: False
ui_event_blocking,
// Automatically refresh the window UI when any file in the
// root folder gets changed.
//
// Default: False
folder_monitor,
};
*/
Expand All @@ -5818,8 +5831,9 @@ int main() {
* @param status The status of the option, `true` or `false`
*/
webui::config(show_wait_connection, true);
webui::config(ui_event_blocking, false);
webui::set_config(show_wait_connection, true);
webui::set_config(ui_event_blocking, false);
webui::set_config(folder_monitor, true);
}
```
<!-- ---------- -->
Expand Down Expand Up @@ -8680,6 +8694,14 @@ Decode base64 string into text.
const str = webui.encode(base64);
```
### JavaScript - isHighContrast
Get OS high contrast preference.
```js
const hc = webui.isHighContrast();
```
### JavaScript - setLogging
Enable WebUI debug logging in the console logs.
Expand Down

0 comments on commit a2de3df

Please sign in to comment.