The array of selected chips inside the chip listbox.
()
| 115 | |
| 116 | /** The array of selected chips inside the chip listbox. */ |
| 117 | get selected(): MatChipOption[] | MatChipOption { |
| 118 | const selectedChips = this._chips.toArray().filter(chip => chip.selected); |
| 119 | return this.multiple ? selectedChips : selectedChips[0]; |
| 120 | } |
| 121 | |
| 122 | /** Orientation of the chip list. */ |
| 123 | @Input('aria-orientation') ariaOrientation: 'horizontal' | 'vertical' = 'horizontal'; |