UNPKG

ngx-surveys

Version:
24 lines (23 loc) 1.39 kB
import { OnInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; import { MatSelectChange } from '@angular/material/select'; import { FormItemOptionItem } from '../../form-item'; import { SurveyErrorStateMatcher } from '../../error-state.matcher'; import * as i0 from "@angular/core"; export declare class SelectComponent implements OnInit, OnChanges { label: string; editable: boolean; required: boolean; multiple: boolean; options: FormItemOptionItem[]; selectionChange: EventEmitter<string | string[]>; value: string | string[]; init: boolean; matcher: SurveyErrorStateMatcher; constructor(); ngOnInit(): void; isOptionSelected(option: FormItemOptionItem): boolean; onSelectionChange(event: MatSelectChange): void; ngOnChanges(changes: SimpleChanges): void; static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "app-select", 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>; }