ngx-mat-dynamic-form-builder
Version:
Build dynamic forms in Angular Material using Reactive forms.
22 lines (21 loc) • 620 B
TypeScript
import { QuestionBase } from './question-base';
import { Observable, BehaviorSubject } from 'rxjs';
/**
* Base class for any drop down of multiple select
*/
export declare class SelectQuestion<T> extends QuestionBase<T> {
options: any[];
options$: Observable<any[]> | BehaviorSubject<any[]> | any;
selection: {
key: string;
value: string;
};
selectionFilter: {
controlKey: string;
filterKey: string;
options$: (value: any) => Observable<any[]>;
};
defaultValue: boolean;
emitObject: boolean;
constructor(options?: {});
}