NativeScript Docs
Core Modules
NativeScript Angular
NativeScript UI
Article title
view on GitHub
Search
Preparing search index...
The search index is not available
NativeScript
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
Binding
Class Binding
Modules
Binding
constructor
options
property
Change
Listeners
source
source
IsBinding
Context
source
Options
source
Properties
target
target
Options
updating
_get
Expression
Value
add
Property
Change
Listeners
bind
binding
Context
Changed
clear
Binding
clear
Source
get
Parent
View
get
Source
Property
Value
loaded
Handler
Visual
Tree
Binding
on
Source
Property
Changed
on
Target
Property
Changed
prepare
Context
For
Expression
prepare
Expression
For
Update
resolve
Objects
And
Properties
resolve
Options
source
AsObject
unbind
update
update
Options
update
Source
update
Target
update
Two
Way
Hierarchy
Binding
Index
Constructors
constructor
Properties
options
property
Change
Listeners
source
source
IsBinding
Context
source
Options
source
Properties
target
target
Options
updating
Methods
_get
Expression
Value
add
Property
Change
Listeners
bind
binding
Context
Changed
clear
Binding
clear
Source
get
Parent
View
get
Source
Property
Value
loaded
Handler
Visual
Tree
Binding
on
Source
Property
Changed
on
Target
Property
Changed
prepare
Context
For
Expression
prepare
Expression
For
Update
resolve
Objects
And
Properties
resolve
Options
source
AsObject
unbind
update
update
Options
update
Source
update
Target
update
Two
Way
Constructors
constructor
new
Binding
(
target
:
ViewBase
, options
:
BindingOptions
)
:
Binding
Parameters
target:
ViewBase
options:
BindingOptions
Returns
Binding
Properties
options
options
:
BindingOptions
Private
property
Change
Listeners
property
Change
Listeners
:
Map
<
string
,
Observable
>
Private
source
source
:
WeakRef
<
Object
>
source
IsBinding
Context
source
IsBinding
Context
:
boolean
Private
source
Options
source
Options
:
object
Type declaration
instance
:
WeakRef
<
any
>
property
:
string
Private
source
Properties
source
Properties
:
string[]
target
target
:
WeakRef
<
ViewBase
>
Private
target
Options
target
Options
:
object
Type declaration
instance
:
WeakRef
<
Object
>
property
:
string
updating
updating
:
boolean
Methods
Private
_get
Expression
Value
_get
Expression
Value
(
expression
:
string
, isBackConvert
:
boolean
, changedModel
:
any
)
:
any
Parameters
expression:
string
isBackConvert:
boolean
changedModel:
any
Returns
any
Private
add
Property
Change
Listeners
add
Property
Change
Listeners
(
source
:
WeakRef
<
Object
>
, sourceProperty
:
string[]
, parentProperies
?:
string
)
:
void
Parameters
source:
WeakRef
<
Object
>
sourceProperty:
string[]
Optional
parentProperies:
string
Returns
void
bind
bind
(
source
:
any
)
:
void
Parameters
source:
any
Returns
void
Private
binding
Context
Changed
binding
Context
Changed
(
data
:
PropertyChangeData
)
:
void
Parameters
data:
PropertyChangeData
Returns
void
clear
Binding
clear
Binding
(
)
:
void
Returns
void
clear
Source
clear
Source
(
)
:
void
Returns
void
Private
get
Parent
View
get
Parent
View
(
target
:
any
, property
:
string
)
:
object
Parameters
target:
any
property:
string
Returns
object
index
:
number
view
:
ViewBase
Private
get
Source
Property
Value
get
Source
Property
Value
(
)
:
any
Returns
any
loaded
Handler
Visual
Tree
Binding
loaded
Handler
Visual
Tree
Binding
(
args
:
any
)
:
void
Parameters
args:
any
Returns
void
on
Source
Property
Changed
on
Source
Property
Changed
(
data
:
PropertyChangeData
)
:
void
Parameters
data:
PropertyChangeData
Returns
void
Private
on
Target
Property
Changed
on
Target
Property
Changed
(
data
:
PropertyChangeData
)
:
void
Parameters
data:
PropertyChangeData
Returns
void
Private
prepare
Context
For
Expression
prepare
Context
For
Expression
(
model
:
Object
, expression
:
string
, newProps
:
string[]
)
:
void
Parameters
model:
Object
expression:
string
newProps:
string[]
Returns
void
Private
prepare
Expression
For
Update
prepare
Expression
For
Update
(
)
:
string
Returns
string
Private
resolve
Objects
And
Properties
resolve
Objects
And
Properties
(
source
:
Object
, properties
:
string[]
)
:
object[]
Parameters
source:
Object
properties:
string[]
Returns
object[]
Private
resolve
Options
resolve
Options
(
obj
:
Object
, properties
:
string[]
)
:
object
Parameters
obj:
Object
properties:
string[]
Returns
object
instance
:
WeakRef
<
Object
>
property
:
any
Private
source
AsObject
source
AsObject
(
source
:
any
)
:
any
Parameters
source:
any
Returns
any
unbind
unbind
(
)
:
void
Returns
void
Private
update
update
(
source
:
any
)
:
void
Parameters
source:
any
Returns
void
Private
update
Options
update
Options
(
options
:
object
, value
:
any
)
:
void
Parameters
options:
object
instance
:
WeakRef
<
any
>
property
:
string
value:
any
Returns
void
Private
update
Source
update
Source
(
value
:
any
)
:
void
Parameters
value:
any
Returns
void
Private
update
Target
update
Target
(
value
:
any
)
:
void
Parameters
value:
any
Returns
void
Private
update
Two
Way
update
Two
Way
(
value
:
any
)
:
void
Parameters
value:
any
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