angular2
Version:
Angular 2 - a web framework for modern web apps
31 lines (30 loc) • 1.16 kB
TypeScript
import { AppViewManager, ChangeDetectorRef, HostViewRef, Injector, HostViewFactoryRef, SimpleChange } from 'angular2/core';
import { ComponentInfo } from './metadata';
import * as angular from './angular_js';
export declare class DowngradeNg2ComponentAdapter {
private id;
private info;
private element;
private attrs;
private scope;
private parentInjector;
private parse;
private viewManager;
private hostViewFactory;
component: any;
inputChangeCount: number;
inputChanges: {
[key: string]: SimpleChange;
};
hostViewRef: HostViewRef;
changeDetector: ChangeDetectorRef;
componentScope: angular.IScope;
childNodes: Node[];
contentInsertionPoint: Node;
constructor(id: string, info: ComponentInfo, element: angular.IAugmentedJQuery, attrs: angular.IAttributes, scope: angular.IScope, parentInjector: Injector, parse: angular.IParseService, viewManager: AppViewManager, hostViewFactory: HostViewFactoryRef);
bootstrapNg2(): void;
setupInputs(): void;
projectContent(): void;
setupOutputs(): void;
registerCleanup(): void;
}