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.
40 lines
1.2 KiB
TypeScript
40 lines
1.2 KiB
TypeScript
|
6 years ago
|
import { EventEmitter, ChangeDetectorRef } from '@angular/core';
|
||
|
|
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
||
|
|
export declare const CHECKBOX_VALUE_ACCESSOR: any;
|
||
|
|
export declare class Checkbox implements ControlValueAccessor {
|
||
|
|
private cd;
|
||
|
|
value: any;
|
||
|
|
name: string;
|
||
|
|
disabled: boolean;
|
||
|
|
binary: string;
|
||
|
|
label: string;
|
||
|
|
tabindex: number;
|
||
|
|
inputId: string;
|
||
|
|
style: any;
|
||
|
|
styleClass: string;
|
||
|
|
labelStyleClass: string;
|
||
|
|
formControl: FormControl;
|
||
|
|
checkboxIcon: string;
|
||
|
|
onChange: EventEmitter<any>;
|
||
|
|
model: any;
|
||
|
|
onModelChange: Function;
|
||
|
|
onModelTouched: Function;
|
||
|
|
focused: boolean;
|
||
|
|
checked: boolean;
|
||
|
|
constructor(cd: ChangeDetectorRef);
|
||
|
|
onClick(event: any, checkbox: any, focus: boolean): void;
|
||
|
|
updateModel(): void;
|
||
|
|
handleChange(event: any): void;
|
||
|
|
isChecked(): boolean;
|
||
|
|
removeValue(): void;
|
||
|
|
addValue(): void;
|
||
|
|
onFocus(event: any): void;
|
||
|
|
onBlur(event: any): void;
|
||
|
|
writeValue(model: any): void;
|
||
|
|
registerOnChange(fn: Function): void;
|
||
|
|
registerOnTouched(fn: Function): void;
|
||
|
|
setDisabledState(val: boolean): void;
|
||
|
|
}
|
||
|
|
export declare class CheckboxModule {
|
||
|
|
}
|