NativeScript Docs
Core Modules
NativeScript Angular
NativeScript UI
Article title
view in github
Search
Preparing search index...
The search index is not available
NativeScript
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"platform"
ScreenMetrics
Interface ScreenMetrics
Globals
"platform"
platform
Names
screen
Device
Screen
Metrics
heightDIPs
height
Pixels
scale
widthDIPs
width
Pixels
device
is
Android
isIOS
Hierarchy
ScreenMetrics
Index
Properties
heightDIPs
height
Pixels
scale
widthDIPs
width
Pixels
Properties
heightDIPs
heightDIPs
:
number
height
Pixels
height
Pixels
:
number
scale
scale
:
number
widthDIPs
widthDIPs
:
number
width
Pixels
width
Pixels
:
number
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
🐛 Debug your mobile network traffic with Fiddler! Try it on
iOS
or
Android