createPlatformFactory
function
Creates a factory for a platform
createPlatformFactory(parentPlatformFactory: (extraProviders?: StaticProvider[]) => PlatformRef, name: string, providers: StaticProvider[] = []): (extraProviders?: StaticProvider[]) => PlatformRef
Parameters
parentPlatformFactory | (extraProviders?: StaticProvider[]) => PlatformRef | |
name | string | |
providers | StaticProvider[] | Optional. Default is |
Returns
(extraProviders?: StaticProvider[]) => PlatformRef
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/core/createPlatformFactory