NativeScript Docs
Core Modules
NativeScript Angular
NativeScript UI
Article title
view in github
Search
Preparing search index...
The search index is not available
NativeScript Angular
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"forms/value-accessors/selectedIndex-value-accessor"
SelectedIndexValueAccessor
Class SelectedIndexValueAccessor
Globals
"forms/value-
accessors/selected
Index-
value-
accessor"
Selected
Index
Value
Accessor
constructor
value
view
view
Initialized
ng
After
View
Init
normalize
Value
on
Change
on
Touched
register
OnChange
register
OnTouched
set
Disabled
State
write
Value
Selectable
View
SELECTED_
INDEX_
VALUE_
ACCESSOR
Hierarchy
BaseValueAccessor
<
SelectableView
>
Implements
ControlValueAccessor
AfterViewInit
Index
Constructors
constructor
Properties
value
view
view
Initialized
Methods
ng
After
View
Init
normalize
Value
on
Change
on
Touched
register
OnChange
register
OnTouched
set
Disabled
State
write
Value
Constructors
constructor
new
Selected
Index
Value
Accessor
(
elementRef
:
ElementRef
)
:
SelectedIndexValueAccessor
Parameters
elementRef:
ElementRef
Returns
SelectedIndexValueAccessor
Properties
Private
value
value
:
number
view
view
:
SelectableView
Private
view
Initialized
view
Initialized
:
boolean
Methods
ng
After
View
Init
ng
After
View
Init
(
)
:
void
Returns
void
Protected
normalize
Value
normalize
Value
(
value
:
any
)
:
any
Parameters
value:
any
Returns
any
on
Change
on
Change
(
_
:
any
)
:
void
Parameters
_:
any
Returns
void
on
Touched
on
Touched
(
)
:
void
Returns
void
register
OnChange
register
OnChange
(
fn
:
function
)
:
void
Parameters
fn:
function
(
_
:
any
)
:
void
Parameters
_:
any
Returns
void
Returns
void
register
OnTouched
register
OnTouched
(
fn
:
function
)
:
void
Parameters
fn:
function
(
)
:
void
Returns
void
Returns
void
set
Disabled
State
set
Disabled
State
(
isDisabled
:
boolean
)
:
void
Parameters
isDisabled:
boolean
Returns
void
write
Value
write
Value
(
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