UNPKG

@yoyoboot/l-52abp-ng

Version:

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.13.

22 lines (21 loc) 1 kB
import { Injector, OnChanges, SimpleChange, SimpleChanges } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { SampleControlComponentBaseDirective } from './sample-control-component-base'; import * as i0 from "@angular/core"; /*** * 表单控件基类 */ export declare abstract class ControlComponentBaseDirective<T> extends SampleControlComponentBaseDirective<T> implements OnChanges, ControlValueAccessor { /** 控件名称 */ name: string; constructor(injector: Injector); ngOnChanges(changes: { [P in keyof this]?: SimpleChange; } & SimpleChanges): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState(isDisabled: boolean): void; writeValue(obj: any): void; static ɵfac: i0.ɵɵFactoryDeclaration<ControlComponentBaseDirective<any>, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<ControlComponentBaseDirective<any>, never, never, { "name": "name"; }, {}, never>; }