UNPKG

ng-cw-v12

Version:

Angular UI Component Library

26 lines (25 loc) 1.05 kB
import { ChangeDetectorRef } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import * as i0 from "@angular/core"; export declare type NcSizeType = 'small' | 'default' | 'large'; export declare class EmojiSwitchComponent implements ControlValueAccessor { private cd; /** 是否禁用 */ private _disabled; set ncDisabled(value: boolean | string); get ncDisabled(): boolean; /** 尺寸 */ ncSize: NcSizeType; private innerValue; private onChangeCallback; private onTouchedCallback; constructor(cd: ChangeDetectorRef); get value(): any; set value(v: any); writeValue(value: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; onInputChange(event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration<EmojiSwitchComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<EmojiSwitchComponent, "nc-emoji-switch", never, { "ncDisabled": "ncDisabled"; "ncSize": "ncSize"; }, {}, never, never>; }