Help Angular by taking a 1 minute survey!Go to surveyHome

createPlatformFactory

Creates a factory for a platform

createPlatformFactory(parentPlatformFactory: (extraProviders?: StaticProvider[]) => PlatformRef, name: string, providers: StaticProvider[] = []): (extraProviders?: StaticProvider[]) => PlatformRef
      
      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