Function: collectSettings()
collectSettings(
app,__namedParameters?):AppSettings
Defined in: src/lib/settings/index.ts:125
The app settings of a canvas: its input settings, keyboard shortcuts, colours, the user's colour palettes, profile
graphs and brush presets, theme and language, and settings wrapper apps added (see SettingsExtension).
Parameters
app
__namedParameters?
Returns
Example
collectSettings(canvas).palettes; // the user's own palettes
collectSettings(canvas, { without: ["profiles"] }).profiles; // undefined
collectSettings(canvas, { updatedAt: autosave.updatedAt }).updatedAt; // "2026-11-13T…"