NativeScript
Open main menu
Docs
@nativescript/core
Open NativeScript GitHub
Close menu
Docs
@nativescript/core
Search Anything
Preparing search index...
The search index is not available
NativeScript
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
@nativescript/core
Length
Namespace Length
Modules
CSSUtils
Core
Types
Dialog
Strings
Grid
Unit
Type
IOSHelper
Length
Percent
Length
Touch
Action
Trace
capitalization
Type
encoding
input
Type
known
Folders
path
convert
ToString
equals
parse
to
Device
Pixels
Index
Functions
convert
ToString
equals
parse
to
Device
Pixels
Functions
Const
convert
ToString
convert
ToString
(
length
:
LengthType
)
:
string
Parameters
length:
LengthType
Returns
string
Const
equals
equals
(
a
:
LengthType
, b
:
LengthType
)
:
boolean
Parameters
a:
LengthType
b:
LengthType
Returns
boolean
parse
parse
(
fromValue
:
string
|
LengthType
)
:
LengthType
Parameters
fromValue:
string
|
LengthType
Returns
LengthType
Const
to
Device
Pixels
to
Device
Pixels
(
length
:
LengthType
, auto
?:
number
)
:
number
Parameters
length:
LengthType
Optional
auto:
number
Returns
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