UNPKG

@engie-group/fluid-design-system-angular

Version:

Fluid Design System Angular

44 lines (43 loc) 1.76 kB
import { ElementRef } from '@angular/core'; import * as i0 from "@angular/core"; export declare class ListGroupComponent { readonly element: ElementRef<HTMLElement>; /** * List id attribute */ listId?: string; /** * Whether group items are clickable */ isClickable: boolean; /** * Whether it is a checkbox list or not */ isCheckboxList: boolean; /** * Whether group items have borders */ hasBorder: boolean; /** * Whether list is dense or not, i.e: smaller */ isDense: boolean; /** * Add role="listbox" and tabindex="-1" to the element. * * Used by `nj-select` for accessibility reasons. */ isCustomSelectList: boolean; /** * Accessible label for the list when using "listbox" role. */ ariaLabel?: string; /** * Whether list is multi-select or not, to add necessary accessible labels */ isMultiSelect: boolean; rootEl: ElementRef<HTMLUListElement>; constructor(element: ElementRef<HTMLElement>); static ɵfac: i0.ɵɵFactoryDeclaration<ListGroupComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ListGroupComponent, "nj-list-group", never, { "listId": { "alias": "listId"; "required": false; }; "isClickable": { "alias": "isClickable"; "required": false; }; "isCheckboxList": { "alias": "isCheckboxList"; "required": false; }; "hasBorder": { "alias": "hasBorder"; "required": false; }; "isDense": { "alias": "isDense"; "required": false; }; "isCustomSelectList": { "alias": "isCustomSelectList"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "isMultiSelect": { "alias": "isMultiSelect"; "required": false; }; }, {}, never, ["*"], true, never>; }