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 core/index, defined in core/src/application_ref.ts