MCPcopy Create free account
hub / github.com/angular/components / constructor

Method constructor

src/material/chips/chip-option.ts:25–32  ·  view source on GitHub ↗
(
    /** Reference to the chip that emitted the event. */
    public source: MatChipOption,
    /** Whether the chip that emitted the event is selected. */
    public selected: boolean,
    /** Whether the selection change was a result of a user interaction. */
    public isUserInput = false,
  )

Source from the content-addressed store, hash-verified

23/** Event object emitted by MatChipOption when selected or deselected. */
24export class MatChipSelectionChange {
25 constructor(
26 /** Reference to the chip that emitted the event. */
27 public source: MatChipOption,
28 /** Whether the chip that emitted the event is selected. */
29 public selected: boolean,
30 /** Whether the selection change was a result of a user interaction. */
31 public isUserInput = false,
32 ) {}
33}
34
35/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected