UNPKG

materialize-angular

Version:
34 lines (33 loc) 1.12 kB
/** * @license * Copyright Workylab. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://raw.githubusercontent.com/workylab/materialize-angular/master/LICENSE */ import { EventEmitter } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { CheckboxModel } from './checkbox.model'; export declare class CheckboxComponent implements ControlValueAccessor, CheckboxModel { static readonly defaultProps: CheckboxModel; className: string; disabled: boolean; id: string | null; indeterminate: boolean; name: string; required: boolean; value: boolean; onChangeEmitter: EventEmitter<boolean>; prefix: string; isFocused: boolean; constructor(); toggleValue(): void; onFocus(): void; onBlur(): void; setDisabledState(isDisabled: boolean): void; writeValue(value: boolean): void; registerOnChange(fn: (value: boolean) => void): void; registerOnTouched(fn: () => void): void; onChange(value: boolean): void; onTouched(): void; }