W3cubDocs

/Angular 12

platformBrowser

const

A factory function that returns a PlatformRef instance associated with browser service providers.

const platformBrowser: (extraProviders?: StaticProvider[]) => PlatformRef;

© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/platform-browser/platformBrowser