NativeScript
Open main menu
Docs
@nativescript/core
Open NativeScript GitHub
Close menu
Docs
@nativescript/core
Search Anything
Preparing search index...
The search index is not available
NativeScript
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
@nativescript/core
KeyframeAnimation
Class KeyframeAnimation
Modules
Keyframe
Animation
constructor
_is
Forwards
_is
Playing
_native
Animations
_resolve
_target
animations
delay
iterations
is
Playing
_reset
Animation
Values
_reset
Animations
_resolve
Animation
Finished
Promise
animate
cancel
play
keyframe
Animation
From
Info
parse
Keyframe
Hierarchy
KeyframeAnimation
Index
Constructors
constructor
Properties
_is
Forwards
_is
Playing
_native
Animations
_resolve
_target
animations
delay
iterations
Accessors
is
Playing
Methods
_reset
Animation
Values
_reset
Animations
_resolve
Animation
Finished
Promise
animate
cancel
play
keyframe
Animation
From
Info
parse
Keyframe
Constructors
constructor
new
Keyframe
Animation
(
)
:
KeyframeAnimation
Returns
KeyframeAnimation
Properties
Private
_is
Forwards
_is
Forwards
:
boolean
Private
_is
Playing
_is
Playing
:
boolean
Private
_native
Animations
_native
Animations
:
Animation[]
Private
_resolve
_resolve
:
any
Private
_target
_target
:
View
animations
animations
:
Keyframe[]
delay
delay
:
number
iterations
iterations
:
number
Accessors
is
Playing
get
(
)
:
boolean
Returns
boolean
Methods
Private
_reset
Animation
Values
_reset
Animation
Values
(
view
:
View
, animation
:
Object
)
:
void
Parameters
view:
View
animation:
Object
Returns
void
_reset
Animations
_reset
Animations
(
)
:
void
Returns
void
_resolve
Animation
Finished
Promise
_resolve
Animation
Finished
Promise
(
)
:
void
Returns
void
Private
animate
animate
(
view
:
View
, index
:
number
, iterations
:
number
)
:
void
Parameters
view:
View
index:
number
iterations:
number
Returns
void
cancel
cancel
(
)
:
void
Returns
void
play
play
(
view
:
View
)
:
Promise
<
void
>
Parameters
view:
View
Returns
Promise
<
void
>
Static
keyframe
Animation
From
Info
keyframe
Animation
From
Info
(
info
:
KeyframeAnimationInfo
)
:
KeyframeAnimation
Parameters
info:
KeyframeAnimationInfo
Returns
KeyframeAnimation
Static
Private
parse
Keyframe
parse
Keyframe
(
info
:
KeyframeAnimationInfo
, keyframe
:
KeyframeInfo
, animations
:
Object[]
, startDuration
:
number
)
:
number
Parameters
info:
KeyframeAnimationInfo
keyframe:
KeyframeInfo
animations:
Object[]
startDuration:
number
Returns
number
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