PlatformRef

Stable

Class

Class Overview

class PlatformRef {
bootstrapModuleFactory(moduleFactory: NgModuleFactory<M>) : Promise<NgModuleRef<M>>
bootstrapModule(moduleType: Type<M>, compilerOptions?: CompilerOptions|CompilerOptions[]) : Promise<NgModuleRef<M>>
onDestroy(callback: () => void) : void
injector : Injector
destroy() : void
destroyed : boolean

}

Class Description

Class Details

exported from @angular/core/index, defined in @angular/core/src/application_ref.ts