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
"animations/animations.module"
InjectableAnimationEngine
Class InjectableAnimationEngine
Globals
"animations/animations.module"
Injectable
Animation
Engine
constructor
on
Removal
Complete
players
destroy
disable
Animations
flush
listen
on
Insert
on
Remove
process
register
register
Trigger
when
Rendering
Done
Native
Script
Animations
Module
NATIVESCRIPT_
ANIMATIONS_
PROVIDERS
instantiate
Default
Style
Normalizer
instantiate
Renderer
Factory
instantiate
Supported
Animation
Driver
Hierarchy
ɵAnimationEngine
Index
Constructors
constructor
Properties
on
Removal
Complete
players
Methods
destroy
disable
Animations
flush
listen
on
Insert
on
Remove
process
register
register
Trigger
when
Rendering
Done
Constructors
constructor
new
Injectable
Animation
Engine
(
doc
:
any
, driver
:
AnimationDriver
, normalizer
:
AnimationStyleNormalizer
)
:
InjectableAnimationEngine
Parameters
doc:
any
driver:
AnimationDriver
normalizer:
AnimationStyleNormalizer
Returns
InjectableAnimationEngine
Properties
on
Removal
Complete
on
Removal
Complete
:
function
Type declaration
(
element
:
any
, context
:
any
)
:
void
Parameters
element:
any
context:
any
Returns
void
players
players
:
AnimationPlayer[]
Methods
destroy
destroy
(
namespaceId
:
string
, context
:
any
)
:
void
Parameters
namespaceId:
string
context:
any
Returns
void
disable
Animations
disable
Animations
(
element
:
any
, disable
:
boolean
)
:
void
Parameters
element:
any
disable:
boolean
Returns
void
flush
flush
(
microtaskId
?:
number
)
:
void
Parameters
Optional
microtaskId:
number
Returns
void
listen
listen
(
namespaceId
:
string
, element
:
any
, eventName
:
string
, eventPhase
:
string
, callback
:
function
)
:
function
Parameters
namespaceId:
string
element:
any
eventName:
string
eventPhase:
string
callback:
function
(
event
:
any
)
:
any
Parameters
event:
any
Returns
any
Returns
function
(
)
:
any
Returns
any
on
Insert
on
Insert
(
namespaceId
:
string
, element
:
any
, parent
:
any
, insertBefore
:
boolean
)
:
void
Parameters
namespaceId:
string
element:
any
parent:
any
insertBefore:
boolean
Returns
void
on
Remove
on
Remove
(
namespaceId
:
string
, element
:
any
, context
:
any
, isHostElement
?:
boolean
)
:
void
Parameters
namespaceId:
string
element:
any
context:
any
Optional
isHostElement:
boolean
Returns
void
process
process
(
namespaceId
:
string
, element
:
any
, property
:
string
, value
:
any
)
:
void
Parameters
namespaceId:
string
element:
any
property:
string
value:
any
Returns
void
register
register
(
namespaceId
:
string
, hostElement
:
any
)
:
void
Parameters
namespaceId:
string
hostElement:
any
Returns
void
register
Trigger
register
Trigger
(
componentId
:
string
, namespaceId
:
string
, hostElement
:
any
, name
:
string
, metadata
:
AnimationTriggerMetadata
)
:
void
Parameters
componentId:
string
namespaceId:
string
hostElement:
any
name:
string
metadata:
AnimationTriggerMetadata
Returns
void
when
Rendering
Done
when
Rendering
Done
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
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