ngx-surveys
Version:
Angular 18+ survey / form builder
24 lines (23 loc) • 1.45 kB
TypeScript
import { OnInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
import { MatSelectionList, MatSelectionListChange } from '@angular/material/list';
import { FormItemOptionItem } from '../../form-item';
import * as i0 from "@angular/core";
export declare class SelectionListComponent implements OnInit, OnChanges {
label: string;
editable: boolean;
required: boolean;
multiple: boolean;
options: FormItemOptionItem[];
selectionChange: EventEmitter<string | string[]>;
value: string | string[];
selectedOptions: MatSelectionList;
init: boolean;
constructor();
ngOnInit(): void;
isOptionSelected(option: FormItemOptionItem): boolean;
onSelectionChange(event: MatSelectionListChange): void;
ngOnChanges(changes: SimpleChanges): void;
onOptionClick(event: any, option: FormItemOptionItem): void;
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionListComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SelectionListComponent, "app-selection-list", never, { "label": { "alias": "label"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "options": { "alias": "options"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, never, false, never>;
}