ThemePickerComponent is a component that allows users to select a theme from a list of options.

Implements

  • OnChanges

Constructors

Properties

autoLabel: string = 'Auto'

Label for the auto theme option.

darkLabel: string = 'Dark'

Label for the dark theme option.

lightLabel: string = 'Light'

Label for the light theme option.

options: PickerOption[] = ...
themeProvider: ThemeProvider = ...

The theme provider used to manage the current theme.

Methods

  • Handles changes to the input properties.

    Parameters

    • changes: SimpleChanges

      The changes to the input properties.

    Returns void