UNPKG

@ng-ui-libraries/forms

Version:

22 lines (21 loc) 783 B
import { EventEmitter } from "@angular/core"; import { SelectorInterface } from "../Interface/SelectorInterface"; import { ValueInterpreter } from "@ng-app-framework/core"; import 'rxjs/Rx'; export declare abstract class Selector implements SelectorInterface { options: any[]; selectBy: string; onSelect: EventEmitter<any>; onDeselect: EventEmitter<any>; interpreter: ValueInterpreter; selected: any; selectedChange: EventEmitter<any>; constructor(options: any[], selected: any, selectBy?: string); toggle(option: any): void; triggerSelectEvent(option: any): void; triggerDeselectEvent(option: any): void; abstract isSelected(option: any): any; select(option: any): void; deselect(option: any): void; getSelected(): any; }