Class to be used to power selecting one or more options from a list.

Type Parameters

  • T

Constructors

Properties

changed: Subject<SelectionChange<T>> = ...

Event emitted when the value has changed.

compareWith?: (o1: T, o2: T) => boolean

Accessors

Methods

  • Clears all of the selected values.

    Parameters

    • flushEvent: boolean = true

      Whether to flush the changes in an event. If false, the changes to the selection will be flushed along with the next event.

    Returns boolean | void

    Whether the selection changed as a result of this call @breaking-change 16.0.0 make return type boolean