createPlatform

From Get docs
< @angular/coreAngular/docs/8/api/core/createplatform


createPlatform

function

Creates a platform. Platforms have to be eagerly created via this function.

createPlatform(injector: Injector): PlatformRef

Parameters
injector Injector
Returns

PlatformRef


© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v8.angular.io/api/core/createPlatform