博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
@angular/core
阅读量:6227 次
发布时间:2019-06-21

本文共 28388 字,大约阅读时间需要 94 分钟。

export interface AfterContentChecked {    ngAfterContentChecked(): void;}export interface AfterContentInit {    ngAfterContentInit(): void;}export interface AfterViewChecked {    ngAfterViewChecked(): void;}export interface AfterViewInit {    ngAfterViewInit(): void;}/** @experimental */export declare const ANALYZE_FOR_ENTRY_COMPONENTS: InjectionToken
;/** @experimental */export declare const APP_BOOTSTRAP_LISTENER: InjectionToken<((compRef: ComponentRef
) => void)[]>;/** @experimental */export declare const APP_ID: InjectionToken
;/** @experimental */export declare const APP_INITIALIZER: InjectionToken<(() => void)[]>;/** @experimental */export declare class ApplicationInitStatus { readonly done: boolean; readonly donePromise: Promise
; constructor(appInits: (() => any)[]);}/** @experimental */export declare class ApplicationModule { constructor(appRef: ApplicationRef);}export declare class ApplicationRef { readonly componentTypes: Type
[]; readonly components: ComponentRef
[]; readonly isStable: Observable
; readonly viewCount: number; attachView(viewRef: ViewRef): void; bootstrap
(componentOrFactory: ComponentFactory
| Type
, rootSelectorOrNode?: string | any): ComponentRef
; detachView(viewRef: ViewRef): void; tick(): void;}/** @experimental */export declare function asNativeElements(debugEls: DebugElement[]): any;/** @experimental */export declare function assertPlatform(requiredToken: any): PlatformRef;export declare const Attribute: AttributeDecorator;export declare enum ChangeDetectionStrategy { OnPush = 0, Default = 1,}export declare abstract class ChangeDetectorRef { abstract checkNoChanges(): void; abstract detach(): void; abstract detectChanges(): void; abstract markForCheck(): void; abstract reattach(): void;}export interface ClassProvider extends ClassSansProvider { multi?: boolean; provide: any;}/** @deprecated */export interface CollectionChangeRecord
extends IterableChangeRecord
{}export declare class Compiler { clearCache(): void; clearCacheFor(type: Type
): void; compileModuleAndAllComponentsAsync
(moduleType: Type
): Promise
>; compileModuleAndAllComponentsSync
(moduleType: Type
): ModuleWithComponentFactories
; compileModuleAsync
(moduleType: Type
): Promise
>; compileModuleSync
(moduleType: Type
): NgModuleFactory
;}/** @experimental */export declare const COMPILER_OPTIONS: InjectionToken
;/** @experimental */export declare abstract class CompilerFactory { abstract createCompiler(options?: CompilerOptions[]): Compiler;}/** @experimental */export declare type CompilerOptions = { useJit?: boolean; defaultEncapsulation?: ViewEncapsulation; providers?: StaticProvider[]; missingTranslation?: MissingTranslationStrategy; preserveWhitespaces?: boolean;};export declare const Component: ComponentDecorator;export interface ComponentDecorator { (obj: Component): TypeDecorator; new (obj: Component): Component;}export declare abstract class ComponentFactory
{ readonly abstract componentType: Type
; readonly abstract inputs: { propName: string; templateName: string; }[]; readonly abstract ngContentSelectors: string[]; readonly abstract outputs: { propName: string; templateName: string; }[]; readonly abstract selector: string; abstract create(injector: Injector, projectableNodes?: any[][], rootSelectorOrNode?: string | any, ngModule?: NgModuleRef
): ComponentRef
;}export declare abstract class ComponentFactoryResolver { abstract resolveComponentFactory
(component: Type
): ComponentFactory
; static NULL: ComponentFactoryResolver;}export declare abstract class ComponentRef
{ readonly abstract changeDetectorRef: ChangeDetectorRef; readonly abstract componentType: Type
; readonly abstract hostView: ViewRef; readonly abstract injector: Injector; readonly abstract instance: C; readonly abstract location: ElementRef; abstract destroy(): void; abstract onDestroy(callback: Function): void;}export declare const ContentChild: ContentChildDecorator;export interface ContentChildDecorator { (selector: Type
| Function | string, opts?: { read?: any; }): any; new (selector: Type
| Function | string, opts?: { read?: any; }): ContentChild;}export declare const ContentChildren: ContentChildrenDecorator;export interface ContentChildrenDecorator { (selector: Type
| Function | string, opts?: { descendants?: boolean; read?: any; }): any; new (selector: Type
| Function | string, opts?: { descendants?: boolean; read?: any; }): Query;}/** @experimental */export declare function createInjector(defType: any, parent?: Injector | null): Injector;/** @experimental */export declare function createPlatform(injector: Injector): PlatformRef;/** @experimental */export declare function createPlatformFactory(parentPlatformFactory: ((extraProviders?: StaticProvider[]) => PlatformRef) | null, name: string, providers?: StaticProvider[]): (extraProviders?: StaticProvider[]) => PlatformRef;export declare const CUSTOM_ELEMENTS_SCHEMA: SchemaMetadata;/** @experimental */export declare class DebugElement extends DebugNode { attributes: { [key: string]: string | null; }; childNodes: DebugNode[]; readonly children: DebugElement[]; classes: { [key: string]: boolean; }; name: string; nativeElement: any; properties: { [key: string]: any; }; styles: { [key: string]: string | null; }; constructor(nativeNode: any, parent: any, _debugContext: DebugContext); addChild(child: DebugNode): void; insertBefore(refChild: DebugNode, newChild: DebugNode): void; insertChildrenAfter(child: DebugNode, newChildren: DebugNode[]): void; query(predicate: Predicate
): DebugElement; queryAll(predicate: Predicate
): DebugElement[]; queryAllNodes(predicate: Predicate
): DebugNode[]; removeChild(child: DebugNode): void; triggerEventHandler(eventName: string, eventObj: any): void;}/** @experimental */export declare class DebugNode { readonly componentInstance: any; readonly context: any; readonly injector: Injector; listeners: EventListener[]; nativeNode: any; parent: DebugElement | null; readonly providerTokens: any[]; readonly references: { [key: string]: any; }; constructor(nativeNode: any, parent: DebugNode | null, _debugContext: DebugContext);}/** @deprecated */export declare class DefaultIterableDiffer
implements IterableDiffer
, IterableChanges
{ readonly collection: V[] | Iterable
| null; readonly isDirty: boolean; readonly length: number; constructor(trackByFn?: TrackByFunction
); check(collection: NgIterable
): boolean; diff(collection: NgIterable
): DefaultIterableDiffer
| null; forEachAddedItem(fn: (record: IterableChangeRecord_
) => void): void; forEachIdentityChange(fn: (record: IterableChangeRecord_
) => void): void; forEachItem(fn: (record: IterableChangeRecord_
) => void): void; forEachMovedItem(fn: (record: IterableChangeRecord_
) => void): void; forEachOperation(fn: (item: IterableChangeRecord
, previousIndex: number | null, currentIndex: number | null) => void): void; forEachPreviousItem(fn: (record: IterableChangeRecord_
) => void): void; forEachRemovedItem(fn: (record: IterableChangeRecord_
) => void): void; onDestroy(): void;}/** @experimental */export declare function defineInjectable
(opts: { providedIn?: Type
| 'root' | 'any' | null; factory: () => T;}): never;/** @experimental */export declare function defineInjector(options: { factory: () => any; providers?: any[]; imports?: any[];}): never;/** @experimental */export declare function destroyPlatform(): void;export declare const Directive: DirectiveDecorator;export interface DirectiveDecorator { (obj: Directive): TypeDecorator; new (obj: Directive): Directive;}export interface DoCheck { ngDoCheck(): void;}export declare class ElementRef
{ nativeElement: T; constructor(nativeElement: T);}/** @experimental */export declare abstract class EmbeddedViewRef
extends ViewRef { readonly abstract context: C; readonly abstract rootNodes: any[];}export declare function enableProdMode(): void;export declare class ErrorHandler { handleError(error: any): void;}export declare class EventEmitter
extends Subject
{ __isAsync: boolean; constructor(isAsync?: boolean); emit(value?: T): void; subscribe(generatorOrNext?: any, error?: any, complete?: any): any;}export interface ExistingProvider extends ExistingSansProvider { multi?: boolean; provide: any;}export interface FactoryProvider extends FactorySansProvider { multi?: boolean; provide: any;}/** @experimental */export declare function forwardRef(forwardRefFn: ForwardRefFn): Type
;/** @experimental */export interface ForwardRefFn { (): any;}/** @experimental */export declare function getDebugNode(nativeNode: any): DebugNode | null;/** @experimental */export declare function getModuleFactory(id: string): NgModuleFactory
;/** @experimental */export declare function getPlatform(): PlatformRef | null;/** @experimental */export interface GetTestability { addToWindow(registry: TestabilityRegistry): void; findTestabilityInTree(registry: TestabilityRegistry, elem: any, findInAncestors: boolean): Testability | null;}export declare const Host: HostDecorator;export declare const HostBinding: HostBindingDecorator;export interface HostDecorator { (): any; new (): Host;}export declare const HostListener: HostListenerDecorator;/** @experimental */export declare function inject
(token: Type
| InjectionToken
): T;export declare function inject
(token: Type
| InjectionToken
, flags?: InjectFlags): T | null;export declare const Inject: InjectDecorator;export declare const Injectable: InjectableDecorator;export interface InjectableDecorator { (): any; (options?: { providedIn: Type
| 'root' | null; } & InjectableProvider): any; new (): Injectable; new (options?: { providedIn: Type
| 'root' | null; } & InjectableProvider): Injectable;}/** @experimental */export declare type InjectableProvider = ValueSansProvider | ExistingSansProvider | StaticClassSansProvider | ConstructorSansProvider | FactorySansProvider | ClassSansProvider;/** @experimental */export interface InjectableType
extends Type
{ ngInjectableDef: never;}export interface InjectDecorator { (token: any): any; new (token: any): Inject;}export declare const enum InjectFlags { Default = 0, Host = 1, Self = 2, SkipSelf = 4, Optional = 8,}export declare class InjectionToken
{ protected _desc: string; readonly ngInjectableDef: never | undefined; constructor(_desc: string, options?: { providedIn?: Type
| 'root' | null; factory: () => T; }); toString(): string;}export declare abstract class Injector { abstract get
(token: Type
| InjectionToken
, notFoundValue?: T, flags?: InjectFlags): T; /** @deprecated */ abstract get(token: any, notFoundValue?: any): any; static NULL: Injector; static THROW_IF_NOT_FOUND: Object; static ngInjectableDef: never; /** @deprecated */ static create(providers: StaticProvider[], parent?: Injector): Injector; static create(options: { providers: StaticProvider[]; parent?: Injector; name?: string; }): Injector;}/** @experimental */export declare const INJECTOR: InjectionToken
;/** @experimental */export interface InjectorType
extends Type
{ ngInjectorDef: never;}export declare const Input: InputDecorator;/** @experimental */export declare function isDevMode(): boolean;export interface IterableChangeRecord
{ readonly currentIndex: number | null; readonly item: V; readonly previousIndex: number | null; readonly trackById: any;}export interface IterableChanges
{ forEachAddedItem(fn: (record: IterableChangeRecord
) => void): void; forEachIdentityChange(fn: (record: IterableChangeRecord
) => void): void; forEachItem(fn: (record: IterableChangeRecord
) => void): void; forEachMovedItem(fn: (record: IterableChangeRecord
) => void): void; forEachOperation(fn: (record: IterableChangeRecord
, previousIndex: number | null, currentIndex: number | null) => void): void; forEachPreviousItem(fn: (record: IterableChangeRecord
) => void): void; forEachRemovedItem(fn: (record: IterableChangeRecord
) => void): void;}export interface IterableDiffer
{ diff(object: NgIterable
): IterableChanges
| null;}export interface IterableDifferFactory { create
(trackByFn?: TrackByFunction
): IterableDiffer
; supports(objects: any): boolean;}export declare class IterableDiffers { /** @deprecated */ factories: IterableDifferFactory[]; constructor(factories: IterableDifferFactory[]); find(iterable: any): IterableDifferFactory; static ngInjectableDef: never; static create(factories: IterableDifferFactory[], parent?: IterableDiffers): IterableDiffers; static extend(factories: IterableDifferFactory[]): StaticProvider;}export interface KeyValueChangeRecord
{ readonly currentValue: V | null; readonly key: K; readonly previousValue: V | null;}export interface KeyValueChanges
{ forEachAddedItem(fn: (r: KeyValueChangeRecord
) => void): void; forEachChangedItem(fn: (r: KeyValueChangeRecord
) => void): void; forEachItem(fn: (r: KeyValueChangeRecord
) => void): void; forEachPreviousItem(fn: (r: KeyValueChangeRecord
) => void): void; forEachRemovedItem(fn: (r: KeyValueChangeRecord
) => void): void;}export interface KeyValueDiffer
{ diff(object: Map
): KeyValueChanges
; diff(object: { [key: string]: V; }): KeyValueChanges
;}export interface KeyValueDifferFactory { create
(): KeyValueDiffer
; supports(objects: any): boolean;}export declare class KeyValueDiffers { /** @deprecated */ factories: KeyValueDifferFactory[]; constructor(factories: KeyValueDifferFactory[]); find(kv: any): KeyValueDifferFactory; static create
(factories: KeyValueDifferFactory[], parent?: KeyValueDiffers): KeyValueDiffers; static extend(factories: KeyValueDifferFactory[]): StaticProvider;}/** @experimental */export declare const LOCALE_ID: InjectionToken
;/** @experimental */export declare enum MissingTranslationStrategy { Error = 0, Warning = 1, Ignore = 2,}/** @experimental */export declare class ModuleWithComponentFactories
{ componentFactories: ComponentFactory
[]; ngModuleFactory: NgModuleFactory
; constructor(ngModuleFactory: NgModuleFactory
, componentFactories: ComponentFactory
[]);}export interface ModuleWithProviders { ngModule: Type
; providers?: Provider[];}export declare type NgIterable
= Array
| Iterable
;export declare const NgModule: NgModuleDecorator;/** @experimental */export declare abstract class NgModuleFactory
{ readonly abstract moduleType: Type
; abstract create(parentInjector: Injector | null): NgModuleRef
;}export declare abstract class NgModuleFactoryLoader { abstract load(path: string): Promise
>;}export declare abstract class NgModuleRef
{ readonly abstract componentFactoryResolver: ComponentFactoryResolver; readonly abstract injector: Injector; readonly abstract instance: T; abstract destroy(): void; abstract onDestroy(callback: () => void): void;}/** @experimental */export declare class NgProbeToken { name: string; token: any; constructor(name: string, token: any);}/** @experimental */export declare class NgZone { readonly hasPendingMacrotasks: boolean; readonly hasPendingMicrotasks: boolean; readonly isStable: boolean; readonly onError: EventEmitter
; readonly onMicrotaskEmpty: EventEmitter
; readonly onStable: EventEmitter
; readonly onUnstable: EventEmitter
; constructor({enableLongStackTrace}: { enableLongStackTrace?: boolean; }); run
(fn: (...args: any[]) => T, applyThis?: any, applyArgs?: any[]): T; runGuarded
(fn: (...args: any[]) => T, applyThis?: any, applyArgs?: any[]): T; runOutsideAngular
(fn: (...args: any[]) => T): T; runTask
(fn: (...args: any[]) => T, applyThis?: any, applyArgs?: any[], name?: string): T; static assertInAngularZone(): void; static assertNotInAngularZone(): void; static isInAngularZone(): boolean;}/** @experimental */export declare const NO_ERRORS_SCHEMA: SchemaMetadata;export interface OnChanges { ngOnChanges(changes: SimpleChanges): void;}export interface OnDestroy { ngOnDestroy(): void;}export interface OnInit { ngOnInit(): void;}export declare const Optional: OptionalDecorator;export interface OptionalDecorator { (): any; new (): Optional;}export declare const Output: OutputDecorator;/** @experimental */export declare const PACKAGE_ROOT_URL: InjectionToken
;export declare const Pipe: PipeDecorator;export interface PipeTransform { transform(value: any, ...args: any[]): any;}/** @experimental */export declare const PLATFORM_ID: InjectionToken
;/** @experimental */export declare const PLATFORM_INITIALIZER: InjectionToken<(() => void)[]>;/** @experimental */export declare const platformCore: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;export declare class PlatformRef { readonly destroyed: boolean; readonly injector: Injector; bootstrapModule
(moduleType: Type
, compilerOptions?: (CompilerOptions & BootstrapOptions) | Array
): Promise
>; /** @experimental */ bootstrapModuleFactory
(moduleFactory: NgModuleFactory
, options?: BootstrapOptions): Promise
>; destroy(): void; onDestroy(callback: () => void): void;}/** @experimental */export interface Predicate
{ (value: T): boolean;}export declare type Provider = TypeProvider | ValueProvider | ClassProvider | ExistingProvider | FactoryProvider | any[];export declare abstract class Query {}export declare class QueryList
{ readonly changes: Observable
; readonly dirty: boolean; readonly first: T; readonly last: T; readonly length: number; destroy(): void; filter(fn: (item: T, index: number, array: T[]) => boolean): T[]; find(fn: (item: T, index: number, array: T[]) => boolean): T | undefined; forEach(fn: (item: T, index: number, array: T[]) => void): void; map
(fn: (item: T, index: number, array: T[]) => U): U[]; notifyOnChanges(): void; reduce(fn: (prevValue: U, curValue: T, curIndex: number, array: T[]) => U, init: U): U; reset(res: Array
): void; setDirty(): void; some(fn: (value: T, index: number, array: T[]) => boolean): boolean; toArray(): T[]; toString(): string;}/** @deprecated */export declare abstract class ReflectiveInjector implements Injector { readonly abstract parent: Injector | null; abstract createChildFromResolved(providers: ResolvedReflectiveProvider[]): ReflectiveInjector; abstract get(token: any, notFoundValue?: any): any; abstract instantiateResolved(provider: ResolvedReflectiveProvider): any; abstract resolveAndCreateChild(providers: Provider[]): ReflectiveInjector; abstract resolveAndInstantiate(provider: Provider): any; /** @experimental */ static fromResolvedProviders(providers: ResolvedReflectiveProvider[], parent?: Injector): ReflectiveInjector; static resolve(providers: Provider[]): ResolvedReflectiveProvider[]; static resolveAndCreate(providers: Provider[], parent?: Injector): ReflectiveInjector;}/** @deprecated */export declare class ReflectiveKey { readonly displayName: string; id: number; token: Object; constructor(token: Object, id: number); static readonly numberOfKeys: number; static get(token: Object): ReflectiveKey;}/** @deprecated */export declare class RenderComponentType { animations: any; encapsulation: ViewEncapsulation; id: string; slotCount: number; styles: Array
; templateUrl: string; constructor(id: string, templateUrl: string, slotCount: number, encapsulation: ViewEncapsulation, styles: Array
, animations: any);}/** @deprecated */export declare abstract class Renderer { abstract animate(element: any, startingStyles: any, keyframes: any[], duration: number, delay: number, easing: string, previousPlayers?: any[]): any; abstract attachViewAfter(node: any, viewRootNodes: any[]): void; abstract createElement(parentElement: any, name: string, debugInfo?: RenderDebugInfo): any; abstract createTemplateAnchor(parentElement: any, debugInfo?: RenderDebugInfo): any; abstract createText(parentElement: any, value: string, debugInfo?: RenderDebugInfo): any; abstract createViewRoot(hostElement: any): any; abstract destroyView(hostElement: any, viewAllNodes: any[]): void; abstract detachView(viewRootNodes: any[]): void; abstract invokeElementMethod(renderElement: any, methodName: string, args?: any[]): void; abstract listen(renderElement: any, name: string, callback: Function): Function; abstract listenGlobal(target: string, name: string, callback: Function): Function; abstract projectNodes(parentElement: any, nodes: any[]): void; abstract selectRootElement(selectorOrNode: string | any, debugInfo?: RenderDebugInfo): any; abstract setBindingDebugInfo(renderElement: any, propertyName: string, propertyValue: string): void; abstract setElementAttribute(renderElement: any, attributeName: string, attributeValue: string): void; abstract setElementClass(renderElement: any, className: string, isAdd: boolean): void; abstract setElementProperty(renderElement: any, propertyName: string, propertyValue: any): void; abstract setElementStyle(renderElement: any, styleName: string, styleValue: string): void; abstract setText(renderNode: any, text: string): void;}/** @experimental */export declare abstract class Renderer2 { readonly abstract data: { [key: string]: any; }; destroyNode: ((node: any) => void) | null; abstract addClass(el: any, name: string): void; abstract appendChild(parent: any, newChild: any): void; abstract createComment(value: string): any; abstract createElement(name: string, namespace?: string | null): any; abstract createText(value: string): any; abstract destroy(): void; abstract insertBefore(parent: any, newChild: any, refChild: any): void; abstract listen(target: 'window' | 'document' | 'body' | any, eventName: string, callback: (event: any) => boolean | void): () => void; abstract nextSibling(node: any): any; abstract parentNode(node: any): any; abstract removeAttribute(el: any, name: string, namespace?: string | null): void; abstract removeChild(parent: any, oldChild: any): void; abstract removeClass(el: any, name: string): void; abstract removeStyle(el: any, style: string, flags?: RendererStyleFlags2): void; abstract selectRootElement(selectorOrNode: string | any): any; abstract setAttribute(el: any, name: string, value: string, namespace?: string | null): void; abstract setProperty(el: any, name: string, value: any): void; abstract setStyle(el: any, style: string, value: any, flags?: RendererStyleFlags2): void; abstract setValue(node: any, value: string): void;}/** @experimental */export declare abstract class RendererFactory2 { abstract begin?(): void; abstract createRenderer(hostElement: any, type: RendererType2 | null): Renderer2; abstract end?(): void; abstract whenRenderingDone?(): Promise
;}/** @experimental */export declare enum RendererStyleFlags2 { Important = 1, DashCase = 2,}/** @experimental */export interface RendererType2 { data: { [kind: string]: any; }; encapsulation: ViewEncapsulation; id: string; styles: (string | any[])[];}/** @experimental */export declare class ResolvedReflectiveFactory { dependencies: ReflectiveDependency[]; factory: Function; constructor( factory: Function, dependencies: ReflectiveDependency[]);}/** @experimental */export interface ResolvedReflectiveProvider { key: ReflectiveKey; multiProvider: boolean; resolvedFactories: ResolvedReflectiveFactory[];}/** @experimental */export declare function resolveForwardRef(type: any): any;/** @deprecated */export declare abstract class RootRenderer { abstract renderComponent(componentType: RenderComponentType): Renderer;}export declare abstract class Sanitizer { abstract sanitize(context: SecurityContext, value: {} | string | null): string | null;}/** @experimental */export interface SchemaMetadata { name: string;}export declare enum SecurityContext { NONE = 0, HTML = 1, STYLE = 2, SCRIPT = 3, URL = 4, RESOURCE_URL = 5,}export declare const Self: SelfDecorator;export interface SelfDecorator { (): any; new (): Self;}/** @experimental */export declare function setTestabilityGetter(getter: GetTestability): void;export declare class SimpleChange { currentValue: any; firstChange: boolean; previousValue: any; constructor(previousValue: any, currentValue: any, firstChange: boolean); isFirstChange(): boolean;}export interface SimpleChanges { [propName: string]: SimpleChange;}export declare const SkipSelf: SkipSelfDecorator;export interface SkipSelfDecorator { (): any; new (): SkipSelf;}export declare type StaticProvider = ValueProvider | ExistingProvider | StaticClassProvider | ConstructorProvider | FactoryProvider | any[];/** @experimental */export declare class SystemJsNgModuleLoader implements NgModuleFactoryLoader { constructor(_compiler: Compiler, config?: SystemJsNgModuleLoaderConfig); load(path: string): Promise
>;}/** @experimental */export declare abstract class SystemJsNgModuleLoaderConfig { factoryPathPrefix: string; factoryPathSuffix: string;}export declare abstract class TemplateRef
{ readonly abstract elementRef: ElementRef; abstract createEmbeddedView(context: C): EmbeddedViewRef
;}/** @experimental */export declare class Testability implements PublicTestability { constructor(_ngZone: NgZone); /** @deprecated */ decreasePendingRequestCount(): number; findProviders(using: any, provider: string, exactMatch: boolean): any[]; /** @deprecated */ getPendingRequestCount(): number; /** @deprecated */ increasePendingRequestCount(): number; isStable(): boolean; whenStable(doneCb: Function, timeout?: number, updateCb?: Function): void;}/** @experimental */export declare class TestabilityRegistry { constructor(); findTestabilityInTree(elem: Node, findInAncestors?: boolean): Testability | null; getAllRootElements(): any[]; getAllTestabilities(): Testability[]; getTestability(elem: any): Testability | null; registerApplication(token: any, testability: Testability): void; unregisterAllApplications(): void; unregisterApplication(token: any): void;}export interface TrackByFunction
{ (index: number, item: T): any;}/** @experimental */export declare const TRANSLATIONS: InjectionToken
;/** @experimental */export declare const TRANSLATIONS_FORMAT: InjectionToken
;export declare const Type: FunctionConstructor;export interface TypeDecorator { (target: Object, propertyKey?: string | symbol, parameterIndex?: number): void;
>(type: T): T;}export interface TypeProvider extends Type
{}export interface ValueProvider extends ValueSansProvider { multi?: boolean; provide: any;}export declare class Version { full: string; readonly major: string; readonly minor: string; readonly patch: string; constructor(full: string);}export declare const VERSION: Version;export declare const ViewChild: ViewChildDecorator;export interface ViewChildDecorator { (selector: Type
| Function | string, opts?: { read?: any; }): any; new (selector: Type
| Function | string, opts?: { read?: any; }): ViewChild;}export declare const ViewChildren: ViewChildrenDecorator;export interface ViewChildrenDecorator { (selector: Type
| Function | string, opts?: { read?: any; }): any; new (selector: Type
| Function | string, opts?: { read?: any; }): ViewChildren;}export declare abstract class ViewContainerRef { readonly abstract element: ElementRef; readonly abstract injector: Injector; readonly abstract length: number; readonly abstract parentInjector: Injector; abstract clear(): void; abstract createComponent
(componentFactory: ComponentFactory
, index?: number, injector?: Injector, projectableNodes?: any[][], ngModule?: NgModuleRef
): ComponentRef
; abstract createEmbeddedView
(templateRef: TemplateRef
, context?: C, index?: number): EmbeddedViewRef
; abstract detach(index?: number): ViewRef | null; abstract get(index: number): ViewRef | null; abstract indexOf(viewRef: ViewRef): number; abstract insert(viewRef: ViewRef, index?: number): ViewRef; abstract move(viewRef: ViewRef, currentIndex: number): ViewRef; abstract remove(index?: number): void;}export declare enum ViewEncapsulation { Emulated = 0, Native = 1, None = 2,}export declare abstract class ViewRef extends ChangeDetectorRef { readonly abstract destroyed: boolean; abstract destroy(): void; abstract onDestroy(callback: Function): any;}export declare class WrappedValue { /** @deprecated */ wrapped: any; constructor(value: any); static isWrapped(value: any): value is WrappedValue; static unwrap(value: any): any; static wrap(value: any): WrappedValue;}/** @experimental */export declare const wtfCreateScope: (signature: string, flags?: any) => WtfScopeFn;/** @experimental */export declare const wtfEndTimeRange: (range: any) => void;/** @experimental */export declare const wtfLeave:
(scope: any, returnValue?: T) => T;/** @experimental */export interface WtfScopeFn { (arg0?: any, arg1?: any): any;}/** @experimental */export declare const wtfStartTimeRange: (rangeType: string, action: string) => any;复制代码

转载地址:http://lpnna.baihongyu.com/

你可能感兴趣的文章
HttpComponents入门解析
查看>>
nullnull精美的文言文表白,一起体会吧!
查看>>
【ASP.NET】asp,c#命名规则参考
查看>>
jsp小商城
查看>>
推荐12个优秀的 HTML5 网站设计案例欣赏
查看>>
三种主流的WebService实现方案(REST/SOAP/XML-RPC)简述及比较
查看>>
MVPArms MVP快速集成框架
查看>>
都 996 了,需求还是没法按时交付,怎么办?
查看>>
当技术为组织所累时怎么办?将你的组织架构旋转90度!
查看>>
刘强东唱衰快递 国家邮政局长却不这样看
查看>>
MapReduce数据序列化读写概念浅析!
查看>>
华云CloudIDC 给传统IDC企业一个转云的机会
查看>>
小鹏汽车选用芯片Xavier 联手英伟达打造L3级中国式自动驾驶
查看>>
一个看起来呆萌的核物理学霸为何两次收到BlackHat的邀请
查看>>
国际篮联三人篮球亚洲杯连续三年落户长沙
查看>>
长沙开通首条直飞缅甸曼德勒国际航线
查看>>
探访新疆喀什老城:从连片危房到5A景区
查看>>
重庆市交通行政执法总队发布春运“避堵”线路图
查看>>
北京所有社区卫生服务中心今年将全部“先诊疗、后结算”
查看>>
QNAP(威联通)联合创始人郭博达先生一行到访
查看>>