UNPKG

@funidata/ngx-fudis

Version:

Funidata Design System.

38 lines (37 loc) 1.42 kB
import { ElementRef, EventEmitter } from '@angular/core'; import { FudisSelectOption } from '../../../../../types/forms'; import * as i0 from "@angular/core"; export declare class MultiselectChipListComponent { /** * Reference for the chip list ul element */ protected _chipListRef: ElementRef<HTMLUListElement>; /** * Array of selected chip items */ selectedItems: FudisSelectOption<object>[]; /** * Parent component id for binding aria attributes */ parentId: string; /** * Output for removed chip index in selectedItems */ handleClick: EventEmitter<FudisSelectOption<object>>; /** * If focus is in some of the chip buttons */ protected _focused: boolean; /** * Focus setter */ protected _setFocus(value: boolean): void; /** * Focuses to the sibling and emits clicked index * * @param index Clicked index */ protected _clickChip(clickedOption: FudisSelectOption<object>, index: number): void; static ɵfac: i0.ɵɵFactoryDeclaration<MultiselectChipListComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<MultiselectChipListComponent, "fudis-multiselect-chip-list", never, { "selectedItems": { "alias": "selectedItems"; "required": false; }; "parentId": { "alias": "parentId"; "required": false; }; }, { "handleClick": "handleClick"; }, never, never, false, never>; }