createPlatformFactory
function
Creates a factory for a platform. Can be used to provide or override Providers
specific to
your application's runtime needs, such as PLATFORM_INITIALIZER
and PLATFORM_ID
.
API
createPlatformFactory( parentPlatformFactory: (extraProviders?: StaticProvider[]) => PlatformRef, name: string, providers?: StaticProvider[]): (extraProviders?: StaticProvider[]) => PlatformRef;
Jump to details