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
CoercibleProperty
Class CoercibleProperty<T, U>
Modules
Coercible
Property
constructor
coerce
configurable
default
Value
default
Value
Key
enumerable
get
get
Default
is
Style
Property
key
name
native
Value
Change
override
Handlers
set
set
Native
is
Set
register
Type parameters
T
:
ViewBase
U
Hierarchy
Property
<
T
,
U
>
Implements
CoercibleProperty
<
T
,
U
>
Implemented by
CoercibleProperty
Index
Constructors
constructor
Properties
coerce
configurable
default
Value
default
Value
Key
enumerable
get
get
Default
is
Style
Property
key
name
native
Value
Change
override
Handlers
set
set
Native
Methods
is
Set
register
Constructors
constructor
new
Coercible
Property<T, U>
(
options
:
CoerciblePropertyOptions
<
T
,
U
>
)
:
CoercibleProperty
<
T
,
U
>
Type parameters
T
:
ViewBase
<
T
>
U
Parameters
options:
CoerciblePropertyOptions
<
T
,
U
>
Returns
CoercibleProperty
<
T
,
U
>
Properties
Readonly
coerce
coerce
:
function
Type declaration
(
target
:
T
)
:
void
Parameters
target:
T
Returns
void
configurable
configurable
:
boolean
Readonly
default
Value
default
Value
:
U
Readonly
default
Value
Key
default
Value
Key
:
symbol
enumerable
enumerable
:
boolean
get
get
:
function
Type declaration
(
)
:
U
Returns
U
Readonly
get
Default
get
Default
:
symbol
is
Style
Property
is
Style
Property
:
boolean
Readonly
key
key
:
symbol
Readonly
name
name
:
string
Readonly
native
Value
Change
native
Value
Change
:
function
Type declaration
(
owner
:
T
, value
:
U
)
:
void
Parameters
owner:
T
value:
U
Returns
void
override
Handlers
override
Handlers
:
function
Type declaration
(
options
:
PropertyOptions
<
T
,
U
>
)
:
void
Parameters
options:
PropertyOptions
<
T
,
U
>
Returns
void
set
set
:
function
Type declaration
(
value
:
U
)
:
void
Parameters
value:
U
Returns
void
Readonly
set
Native
set
Native
:
symbol
Methods
is
Set
is
Set
(
instance
:
T
)
:
boolean
Parameters
instance:
T
Returns
boolean
register
register
(
cls
:
object
)
:
void
Parameters
cls:
object
prototype
:
T
Returns
void
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