Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 436 Bytes

File metadata and controls

14 lines (13 loc) · 436 Bytes
nav-title platform How-To
title platform
environment nativescript
description Examples for using platform
previous_url /ApiReference/platform/HOW-TO

Platform

Information about the current device and screen are defined in the platform module

Declaring platform module to be available for further usage.

{%snippet platform-require%}

Getting information about the current device:

{%snippet platform-current%}