You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.0 KiB
TypeScript
32 lines
1.0 KiB
TypeScript
import { EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
import { ControlValueAccessor } from '@angular/forms';
|
|
export declare const INPUTSWITCH_VALUE_ACCESSOR: any;
|
|
export declare class InputSwitch implements ControlValueAccessor {
|
|
private cd;
|
|
style: any;
|
|
styleClass: string;
|
|
tabindex: number;
|
|
inputId: string;
|
|
name: string;
|
|
disabled: boolean;
|
|
readonly: boolean;
|
|
onChange: EventEmitter<any>;
|
|
checked: boolean;
|
|
focused: boolean;
|
|
onModelChange: Function;
|
|
onModelTouched: Function;
|
|
constructor(cd: ChangeDetectorRef);
|
|
onClick(event: Event, cb: HTMLInputElement): void;
|
|
onInputChange(event: Event): void;
|
|
toggle(event: Event): void;
|
|
updateModel(event: Event, value: boolean): void;
|
|
onFocus(event: Event): void;
|
|
onBlur(event: Event): void;
|
|
writeValue(checked: any): void;
|
|
registerOnChange(fn: Function): void;
|
|
registerOnTouched(fn: Function): void;
|
|
setDisabledState(val: boolean): void;
|
|
}
|
|
export declare class InputSwitchModule {
|
|
}
|