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/number-value-accessor"
NumberValueAccessor
Class NumberValueAccessor
Globals
"forms/value-
accessors/number-
value-
accessor"
Number
Value
Accessor
constructor
view
normalize
Value
on
Change
on
Touched
register
OnChange
register
OnTouched
set
Disabled
State
write
Value
NUMBER_
VALUE_
ACCESSOR
Hierarchy
BaseValueAccessor
<
Slider
>
Implements
ControlValueAccessor
Index
Constructors
constructor
Properties
view
Methods
normalize
Value
on
Change
on
Touched
register
OnChange
register
OnTouched
set
Disabled
State
write
Value
Constructors
constructor
new
Number
Value
Accessor
(
elementRef
:
ElementRef
)
:
NumberValueAccessor
Parameters
elementRef:
ElementRef
Returns
NumberValueAccessor
Properties
view
view
:
Slider
Methods
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