mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
12 lines
315 B
Markdown
Vendored
12 lines
315 B
Markdown
Vendored
# Trigger UI refresh
|
|
Call `utils.reloadFrontendApp`, but make sure to wait for the option to be saved first.
|
|
|
|
```
|
|
this.$backgroundEffects.on("change", async () => {
|
|
|
|
await this.updateCheckboxOption("backgroundEffects", this.$backgroundEffects);
|
|
|
|
utils.reloadFrontendApp("background effect change");
|
|
|
|
});
|
|
``` |