UNPKG

angular2

Version:

Angular 2 - a web framework for modern web apps

18 lines (17 loc) 1.15 kB
import { ControlContainer } from './control_container'; import { NgControl } from './ng_control'; import { NgControlGroup } from './ng_control_group'; import { Control, ControlGroup } from '../model'; import { ControlValueAccessor } from './control_value_accessor'; import { ElementRef } from 'angular2/src/core/linker'; import { Renderer } from 'angular2/src/core/render'; export declare function controlPath(name: string, parent: ControlContainer): string[]; export declare function setUpControl(control: Control, dir: NgControl): void; export declare function setUpControlGroup(control: ControlGroup, dir: NgControlGroup): void; export declare function setProperty(renderer: Renderer, elementRef: ElementRef, propName: string, propValue: any): void; export declare function composeValidators(validators: any[]): Function; export declare function composeAsyncValidators(validators: any[]): Function; export declare function isPropertyUpdated(changes: { [key: string]: any; }, viewModel: any): boolean; export declare function selectValueAccessor(dir: NgControl, valueAccessors: ControlValueAccessor[]): ControlValueAccessor;