UNPKG

nativescript-angular

Version:

An Angular renderer that lets you build mobile apps with NativeScript.

15 lines (14 loc) 570 B
import { ControlValueAccessor } from "@angular/forms"; import { View } from "tns-core-modules/ui/core/view"; export declare class BaseValueAccessor<TView extends View> implements ControlValueAccessor { view: TView; private pendingChangeNotification; onChange: (_: any) => void; onTouched: () => void; constructor(view: TView); registerOnChange(fn: (_: any) => void): void; registerOnTouched(fn: () => void): void; setDisabledState(isDisabled: boolean): void; writeValue(_: any): void; protected normalizeValue(value: any): any; }