platformBrowser
一个工厂函数,它返回与浏览器服务提供者关联的 PlatformRef
实例
A factory function that returns a PlatformRef
instance associated with browser service providers.
const platformBrowser: (extraProviders?: StaticProvider[]) => PlatformRef;
一个工厂函数,它返回与浏览器服务提供者关联的 PlatformRef
实例
A factory function that returns a PlatformRef
instance associated with browser service providers.
const platformBrowser: (extraProviders?: StaticProvider[]) => PlatformRef;