1 | import { EventEmitter, AfterViewInit, ElementRef } from '@angular/core';
|
2 | import { ControlValueAccessor } from '@angular/forms';
|
3 | export declare const TOGGLEBUTTON_VALUE_ACCESSOR: any;
|
4 | export declare class ToggleButton implements ControlValueAccessor, AfterViewInit {
|
5 | onLabel: string;
|
6 | offLabel: string;
|
7 | onIcon: string;
|
8 | offIcon: string;
|
9 | ariaLabelledBy: string;
|
10 | disabled: boolean;
|
11 | style: any;
|
12 | styleClass: string;
|
13 | inputId: string;
|
14 | tabindex: number;
|
15 | iconPos: string;
|
16 | onChange: EventEmitter<any>;
|
17 | checkboxViewChild: ElementRef;
|
18 | checkbox: HTMLInputElement;
|
19 | checked: boolean;
|
20 | focus: boolean;
|
21 | onModelChange: Function;
|
22 | onModelTouched: Function;
|
23 | ngAfterViewInit(): void;
|
24 | toggle(event: Event): void;
|
25 | onFocus(): void;
|
26 | onBlur(): void;
|
27 | writeValue(value: any): void;
|
28 | registerOnChange(fn: Function): void;
|
29 | registerOnTouched(fn: Function): void;
|
30 | setDisabledState(val: boolean): void;
|
31 | readonly hasOnLabel: boolean;
|
32 | readonly hasOffLabel: boolean;
|
33 | }
|
34 | export declare class ToggleButtonModule {
|
35 | }
|