Gets the current value of the picker.

The current value.

Constructors

Properties

buttons: Button[] = []

The buttons to display in the picker.

selectionIcon: undefined | string

The icon to display for the selection.

show: boolean = false
valueChange: EventEmitter<unknown> = ...

Event emitter that emits the new value when the picker value changes.

Accessors

  • get value(): unknown
  • Gets the current value of the picker.

    Returns unknown

    The current value.

  • set value(newVal: unknown): void
  • Sets the current value of the picker and updates the active button.

    Parameters

    • newVal: unknown

      The new value to set.

    Returns void

Methods

  • Gets the icon of the active button.

    Returns string

    The icon of the active button, or the selection icon if no button is active.