UNPKG

@ngx-tiny/switch-input

Version:

![minzipped size](https://img.shields.io/bundlephobia/minzip/@ngx-tiny/switch-input?style=for-the-badge) ![last commit](https://img.shields.io/github/last-commit/aavanzyl/ngx-tiny?style=for-the-badge) ![licence](https://img.shields.io/npm/l/@ngx-tiny/sw

17 lines (16 loc) 579 B
import { EventEmitter } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; export declare class NgxSwitchInputComponent implements ControlValueAccessor { instanceId: string; get value(): boolean; set value(val: boolean); label: any; _value: boolean; valueChange: EventEmitter<any>; onChange: (_value: boolean) => void; onTouched: () => void; registerOnChange(fn: (value: boolean) => void): void; registerOnTouched(fn: () => void): void; writeValue(value: boolean): void; switch(): void; }