$a.theme

📘

Methods for working with themes.

getCurrent

getCurrent(): string

Gets the current theme name.

Example

let themeName = this.$a.theme.getCurrent();

set

set(themeName: string = "")

Sets a theme.

There is shortening for this method this.$a.setTheme see

Example

this.$a.theme.set("dark");