Files
Trilium/docs/Developer Guide/Developer Guide/Development and architecture/Options.md
2025-04-12 01:36:03 +03:00

274 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");