填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

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

可选. 默认值是 [].

返回值

(extraProviders?: StaticProvider[]) => PlatformRef