mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-05 07:02:28 +08:00
273 B
273 B
Options
Read an option
Add the import to the service (make sure the relative path is correct):
import options from "../../services/options.js";
Them simply read the option:
this.firstDayOfWeek = options.getInt("firstDayOfWeek");