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
"renderer"
NativeScriptRenderer
Class NativeScriptRenderer
Globals
"renderer"
Emulated
Renderer
Native
Script
Renderer
constructor
data
destroy
Node
root
View
view
Util
zone
add
Class
append
Child
create
Comment
create
Element
create
Text
create
View
Root
destroy
insert
Before
invoke
Element
Method
listen
next
Sibling
parent
Node
project
Nodes
remove
Attribute
remove
Child
remove
Class
remove
Style
select
Root
Element
set
Attribute
set
Binding
Debug
Info
set
Element
Debug
Info
set
Property
set
Style
set
Value
Native
Script
Renderer
Factory
Element
Reference
ATTR_
SANITIZER
COMPONENT_
REGEX
COMPONENT_
VARIABLE
CONTENT_
ATTR
HOST_
ATTR
add
Scoped
Style
ToCss
add
Style
ToCss
replace
NgAttribute
Hierarchy
Renderer2
Index
Constructors
constructor
Properties
data
destroy
Node
root
View
view
Util
zone
Methods
add
Class
append
Child
create
Comment
create
Element
create
Text
create
View
Root
destroy
insert
Before
invoke
Element
Method
listen
next
Sibling
parent
Node
project
Nodes
remove
Attribute
remove
Child
remove
Class
remove
Style
select
Root
Element
set
Attribute
set
Binding
Debug
Info
set
Element
Debug
Info
set
Property
set
Style
set
Value
Constructors
constructor
new
Native
Script
Renderer
(
rootView
:
NgView
, zone
:
NgZone
, viewUtil
:
ViewUtil
)
:
NativeScriptRenderer
Parameters
rootView:
NgView
zone:
NgZone
viewUtil:
ViewUtil
Returns
NativeScriptRenderer
Properties
data
data
:
object
Type declaration
[
key:
string
]:
any
destroy
Node
destroy
Node
:
function
|
null
Private
root
View
root
View
:
NgView
Private
view
Util
view
Util
:
ViewUtil
Private
zone
zone
:
NgZone
Methods
add
Class
add
Class
(
view
:
NgView
, name
:
string
)
:
void
Parameters
view:
NgView
name:
string
Returns
void
append
Child
append
Child
(
parent
:
NgView
, newChild
:
NgView
)
:
void
Parameters
parent:
NgView
newChild:
NgView
Returns
void
create
Comment
create
Comment
(
_value
:
any
)
:
InvisibleNode
Parameters
_value:
any
Returns
InvisibleNode
create
Element
create
Element
(
name
:
any
, _namespace
:
string
)
:
NgView
Parameters
name:
any
_namespace:
string
Returns
NgView
create
Text
create
Text
(
_value
:
string
)
:
InvisibleNode
Parameters
_value:
string
Returns
InvisibleNode
create
View
Root
create
View
Root
(
hostElement
:
NgView
)
:
NgView
Parameters
hostElement:
NgView
Returns
NgView
destroy
destroy
(
)
:
void
Returns
void
insert
Before
insert
Before
(
parent
:
NgView
, newChild
:
NgView
, __namedParameters
:
object
)
:
void
Parameters
parent:
NgView
newChild:
NgView
__namedParameters:
object
next
:
View
|
ViewExtensions
previous
:
View
|
ViewExtensions
Returns
void
invoke
Element
Method
invoke
Element
Method
(
_renderElement
:
NgView
, methodName
:
string
, args
:
Array
<
any
>
)
:
void
Parameters
_renderElement:
NgView
methodName:
string
args:
Array
<
any
>
Returns
void
listen
listen
(
renderElement
:
any
, eventName
:
string
, callback
:
function
)
:
function
Parameters
renderElement:
any
eventName:
string
callback:
function
(
event
:
any
)
:
boolean
Parameters
event:
any
Returns
boolean
Returns
function
(
)
:
void
Returns
void
next
Sibling
next
Sibling
(
node
:
NgView
)
:
ElementReference
Parameters
node:
NgView
Returns
ElementReference
parent
Node
parent
Node
(
node
:
NgView
)
:
any
Parameters
node:
NgView
Returns
any
project
Nodes
project
Nodes
(
parentElement
:
NgView
, nodes
:
NgView[]
)
:
void
Parameters
parentElement:
NgView
nodes:
NgView[]
Returns
void
remove
Attribute
remove
Attribute
(
_el
:
NgView
, _name
:
string
)
:
void
Parameters
_el:
NgView
_name:
string
Returns
void
remove
Child
remove
Child
(
parent
:
any
, oldChild
:
NgView
)
:
void
Parameters
parent:
any
oldChild:
NgView
Returns
void
remove
Class
remove
Class
(
view
:
NgView
, name
:
string
)
:
void
Parameters
view:
NgView
name:
string
Returns
void
remove
Style
remove
Style
(
view
:
NgView
, styleName
:
string
, _flags
?:
RendererStyleFlags2
)
:
void
Parameters
view:
NgView
styleName:
string
Optional
_flags:
RendererStyleFlags2
Returns
void
select
Root
Element
select
Root
Element
(
selector
:
string
)
:
NgView
Parameters
selector:
string
Returns
NgView
set
Attribute
set
Attribute
(
view
:
NgView
, name
:
string
, value
:
string
, namespace
?:
string
)
:
void
Parameters
view:
NgView
name:
string
value:
string
Optional
namespace:
string
Returns
void
set
Binding
Debug
Info
set
Binding
Debug
Info
(
renderElement
:
NgView
, propertyName
:
string
, propertyValue
:
string
)
:
void
Parameters
renderElement:
NgView
propertyName:
string
propertyValue:
string
Returns
void
set
Element
Debug
Info
set
Element
Debug
Info
(
renderElement
:
any
, _info
:
any
)
:
void
Parameters
renderElement:
any
_info:
any
Returns
void
set
Property
set
Property
(
view
:
any
, name
:
string
, value
:
any
)
:
void
Parameters
view:
any
name:
string
value:
any
Returns
void
set
Style
set
Style
(
view
:
NgView
, styleName
:
string
, value
:
any
, _flags
?:
RendererStyleFlags2
)
:
void
Parameters
view:
NgView
styleName:
string
value:
any
Optional
_flags:
RendererStyleFlags2
Returns
void
set
Value
set
Value
(
_renderNode
:
any
, _value
:
string
)
:
void
Parameters
_renderNode:
any
_value:
string
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