Skip to main content

ThemeSelector

Overview

The ThemeSelector component is an Angular component that displays a list of available themes and allows users to switch between them.

Properties

PropertyTypeDescription
scopeInput<string>The application scope identifier used for theme management.
showPrivateInput<boolean>Whether to display themes marked as private.
themesSignal<Object>The list of available themes.
selectedThemeModel<string>The name of the currently selected theme.

Methods

MethodDescription
selectThemeSelects a different theme.

Examples

The ThemeSelectorComponent can be used in the template of a parent component as follows:

<theme-selector [scope]="scope" />