lct-components
Version:
LCT basic components
21 lines (20 loc) • 937 B
TypeScript
import { AfterViewInit, EventEmitter, OnInit } from '@angular/core';
import { ControlValueAccessor } from "@angular/forms";
import * as i0 from "@angular/core";
export declare class SwitchComponent implements ControlValueAccessor, OnInit, AfterViewInit {
checked: boolean | string;
disabled: boolean | string;
enterEmitted: EventEmitter<boolean>;
propagateChange: (_: any) => void;
constructor();
ngOnInit(): void;
ngAfterViewInit(): void;
toggle(): void;
writeValue(value: any): void;
registerOnChange(fn: any): void;
registerOnTouched(fn: any): void;
onKeyUpHandler(event?: KeyboardEvent | boolean): void;
enterEmit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "lct-switch", never, { "checked": "checked"; "disabled": "disabled"; }, { "enterEmitted": "enterEmitted"; }, never, never>;
}