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/text-value-accessor"
TextValueAccessor
Class TextValueAccessor
Globals
"forms/value-
accessors/text-
value-
accessor"
Text
Value
Accessor
constructor
view
normalize
Value
on
Change
on
Touched
register
OnChange
register
OnTouched
set
Disabled
State
write
Value
Text
View
TEXT_
VALUE_
ACCESSOR
Hierarchy
BaseValueAccessor
<
TextView
>
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
Text
Value
Accessor
(
elementRef
:
ElementRef
)
:
TextValueAccessor
Parameters
elementRef:
ElementRef
Returns
TextValueAccessor
Properties
view
view
:
TextView
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