UNPKG

com.phloxui

Version:

PhloxUI Ng2+ Framework

44 lines (43 loc) 1.88 kB
import { OnInit, EventEmitter, ElementRef } from '@angular/core'; import { AbstractToggle } from './AbstractToggle'; import { ValidationResult } from '../../model/ValidationResult'; import { IHasData } from '../../components'; import { NeedFocusService } from '../../../service/NeedFocusService.service'; export declare class ToggleSwitch extends AbstractToggle implements OnInit { static readonly TYPE_NAME: string; protected dataParent: IHasData; protected ignoreParentData: boolean; protected data: any; protected ignoreParentDisabled: boolean; protected delegateHistory: boolean; protected onDisabled: Function; protected onEnabled: Function; protected loadingEnabled: boolean; protected i18nKey: string; protected bypass: boolean; protected options: any; protected disabled: boolean; protected field: string; protected name: string; protected typeOfData: string; protected readOnly: boolean; protected help: any; protected loadEvent: EventEmitter<any>; protected startValidateEvent: EventEmitter<any>; protected endValidateEvent: EventEmitter<any>; protected beforeFocusEvent: EventEmitter<any>; protected focusEvent: EventEmitter<any>; protected beforeLostFocusEvent: EventEmitter<any>; protected lostFocusEvent: EventEmitter<any>; protected beforeChangeEvent: EventEmitter<any>; protected changeEvent: EventEmitter<any>; constructor(elementRef: ElementRef, needFocusService: NeedFocusService); ngOnInit(): void; getChecked(): string; onFocusing($event: Event): void; onLostFocusing($event: Event): void; protected onValidationEnd(inputValue: any, results: ValidationResult[]): void; protected onDataChange(data: any, inputVal: any): void; protected doFocus($event: Event): void; protected doLostFocus($event: Event): void; }