mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
315 B
Vendored
315 B
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");
});