• 개요
@angular/core

getPlatform

함수
안정화

Returns the current platform in the browser environment. In the server environment, returns null. If you need access to the platform information, inject PlatformRef in your application.

API

function getPlatform(): PlatformRef | null;
@returnsPlatformRef | null
상세 내용으로 이동