Search
Preparing search index...
The search index is not available
@blinkk/degu
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
dom
LottieProgressPlayer
Class LottieProgressPlayer
Hierarchy
LottieProgressPlayer
Implements
EventDispatcher
Index
Constructors
constructor
Methods
create
Lottie
dispose
get
Lottie
Instance
get
Progress
off
on
set
Frame
set
Progress
Constructors
constructor
new
Lottie
Progress
Player
(
containerElement
:
HTMLElement
, settings
:
LottieProgressPlayerSettings
)
:
LottieProgressPlayer
Parameters
containerElement:
HTMLElement
settings:
LottieProgressPlayerSettings
Returns
LottieProgressPlayer
Methods
create
Lottie
create
Lottie
(
)
:
void
Returns
void
dispose
dispose
(
)
:
void
Returns
void
get
Lottie
Instance
get
Lottie
Instance
(
)
:
object
Returns
object
animationID
:
string
assets
Path
:
string
autoplay
:
boolean
current
Frame
:
number
current
Raw
Frame
:
number
first
Frame
:
number
frame
Mult
:
number
frame
Rate
:
number
is
Loaded
:
boolean
is
Paused
:
boolean
is
Subframe
Enabled
:
boolean
loop
:
boolean
name
:
string
play
Count
:
number
play
Direction
:
number
play
Speed
:
number
renderer
:
any
segment
Pos
:
number
segments
:
AnimationSegment
|
AnimationSegment
[]
time
Completed
:
number
total
Frames
:
number
add
Event
Listener
:
function
add
Event
Listener<T>
(
name
:
AnimationEventName
, callback
:
AnimationEventCallback
<
T
>
)
:
void
Type parameters
T
Parameters
name:
AnimationEventName
callback:
AnimationEventCallback
<
T
>
Returns
void
destroy
:
function
destroy
(
name
:
string
)
:
void
Parameters
Optional
name:
string
Returns
void
get
Duration
:
function
get
Duration
(
inFrames
:
boolean
)
:
number
Parameters
Optional
inFrames:
boolean
Returns
number
go
ToAnd
Play
:
function
go
ToAnd
Play
(
value
:
number
, isFrame
:
boolean
, name
:
string
)
:
void
Parameters
value:
number
Optional
isFrame:
boolean
Optional
name:
string
Returns
void
go
ToAnd
Stop
:
function
go
ToAnd
Stop
(
value
:
number
, isFrame
:
boolean
, name
:
string
)
:
void
Parameters
value:
number
Optional
isFrame:
boolean
Optional
name:
string
Returns
void
hide
:
function
hide
(
)
:
void
Returns
void
include
Layers
:
function
include
Layers
(
data
:
any
)
:
void
Parameters
data:
any
Returns
void
pause
:
function
pause
(
name
:
string
)
:
void
Parameters
Optional
name:
string
Returns
void
play
:
function
play
(
name
:
string
)
:
void
Parameters
Optional
name:
string
Returns
void
play
Segments
:
function
play
Segments
(
segments
:
AnimationSegment
|
AnimationSegment
[]
, forceFlag
:
boolean
)
:
void
Parameters
segments:
AnimationSegment
|
AnimationSegment
[]
Optional
forceFlag:
boolean
Returns
void
remove
Event
Listener
:
function
remove
Event
Listener<T>
(
name
:
AnimationEventName
, callback
:
AnimationEventCallback
<
T
>
)
:
void
Type parameters
T
Parameters
name:
AnimationEventName
callback:
AnimationEventCallback
<
T
>
Returns
void
reset
Segments
:
function
reset
Segments
(
forceFlag
:
boolean
)
:
void
Parameters
forceFlag:
boolean
Returns
void
resize
:
function
resize
(
)
:
void
Returns
void
set
Direction
:
function
set
Direction
(
direction
:
AnimationDirection
)
:
void
Parameters
direction:
AnimationDirection
Returns
void
set
Segment
:
function
set
Segment
(
init
:
number
, end
:
number
)
:
void
Parameters
init:
number
end:
number
Returns
void
set
Speed
:
function
set
Speed
(
speed
:
number
)
:
void
Parameters
speed:
number
Returns
void
set
Subframe
:
function
set
Subframe
(
useSubFrames
:
boolean
)
:
void
Parameters
useSubFrames:
boolean
Returns
void
show
:
function
show
(
)
:
void
Returns
void
stop
:
function
stop
(
name
:
string
)
:
void
Parameters
Optional
name:
string
Returns
void
toggle
Pause
:
function
toggle
Pause
(
name
:
string
)
:
void
Parameters
Optional
name:
string
Returns
void
trigger
Event
:
function
trigger
Event<T>
(
name
:
AnimationEventName
, args
:
T
)
:
void
Type parameters
T
Parameters
name:
AnimationEventName
args:
T
Returns
void
get
Progress
get
Progress
(
)
:
number
Returns
number
off
off
(
event
:
string
, callback
:
EventCallback
)
:
void
Parameters
event:
string
callback:
EventCallback
Returns
void
on
on
(
event
:
string
, callback
:
EventCallback
)
:
void
Parameters
event:
string
callback:
EventCallback
Returns
void
set
Frame
set
Frame
(
frame
:
number
)
:
void
Parameters
frame:
number
Returns
void
set
Progress
set
Progress
(
progress
:
number
)
:
void
Parameters
progress:
number
Returns
void
Globals
"index"
angular
arrayf
components
datguif
debug
dom
ease
func
interpolate
is
iterable-
iterator
loader
map
mathf
objectf
pseudo-
3d-
canvas
raf
setf
shaders
string
threef
time
ui
x
Lottie
Progress
Player
constructor
create
Lottie
dispose
get
Lottie
Instance
get
Progress
off
on
set
Frame
set
Progress