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.
35 lines
1.0 KiB
TypeScript
35 lines
1.0 KiB
TypeScript
import { EventEmitter, AfterViewInit, ElementRef } from '@angular/core';
|
|
import { ControlValueAccessor } from '@angular/forms';
|
|
export declare const TOGGLEBUTTON_VALUE_ACCESSOR: any;
|
|
export declare class ToggleButton implements ControlValueAccessor, AfterViewInit {
|
|
onLabel: string;
|
|
offLabel: string;
|
|
onIcon: string;
|
|
offIcon: string;
|
|
disabled: boolean;
|
|
style: any;
|
|
styleClass: string;
|
|
inputId: string;
|
|
tabindex: number;
|
|
iconPos: string;
|
|
onChange: EventEmitter<any>;
|
|
checkboxViewChild: ElementRef;
|
|
checkbox: HTMLInputElement;
|
|
checked: boolean;
|
|
focus: boolean;
|
|
onModelChange: Function;
|
|
onModelTouched: Function;
|
|
ngAfterViewInit(): void;
|
|
toggle(event: Event): void;
|
|
onFocus(): void;
|
|
onBlur(): void;
|
|
writeValue(value: any): void;
|
|
registerOnChange(fn: Function): void;
|
|
registerOnTouched(fn: Function): void;
|
|
setDisabledState(val: boolean): void;
|
|
readonly hasOnLabel: boolean;
|
|
readonly hasOffLabel: boolean;
|
|
}
|
|
export declare class ToggleButtonModule {
|
|
}
|