MCPcopy Create free account

hub / github.com/LottieFiles/dotlottie-web / functions

Functions921 in github.com/LottieFiles/dotlottie-web

FunctionhandleJustifyChange
(newJustify: 0 | 1 | 2)
apps/viewer/src/components/slot-controller.tsx:245
FunctionhandleLoop
()
examples/solid/src/App.tsx:44
FunctionhandleMessage
(event: MessageEvent)
apps/viewer/src/components/playground/preview-iframe.tsx:101
FunctionhandleMessage
(event: MessageEvent)
apps/viewer/src/pages/embed.tsx:127
FunctionhandleOnLoad
()
examples/solid/src/App.tsx:89
FunctionhandlePlayOnHover
(event: MouseEvent)
packages/react/src/base-dotlottie-react.tsx:125
FunctionhandlePlayOnHover
()
examples/solid/src/App.tsx:67
FunctionhandleScroll
()
apps/viewer/src/components/playground/console-panel.tsx:36
FunctionhandleUseFrameInterpolation
()
examples/solid/src/App.tsx:63
Methodheight
* @returns {number}
packages/web/src/core/dotlottie-player.js:1096
Methodheight
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:1182
Methodheight
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:1216
FunctionhoverHandler
(event: MouseEvent)
packages/solid/src/use-dotlottie.tsx:61
FunctionhoverHandler
(event: MouseEvent)
packages/vue/src/dotlottie.ts:211
FunctionincreaseSpeed
()
examples/solid/src/App.tsx:48
FunctioninitSync
(module)
packages/web/src/core/dotlottie-player.js:1446
FunctioninitSync
(module)
packages/web/src/webgl/dotlottie-player.js:1784
FunctioninitSync
(module)
packages/web/src/webgpu/dotlottie-player.js:2204
MethodintersectionObserverCallback
(entries: IntersectionObserverEntry[])
packages/web/src/offscreen-observer.ts:13
MethodisFrozen
* Indicates whether rendering is currently frozen. * True when freeze() has been called and the rendering loop is paused to save resources.
packages/web/src/dotlottie.ts:702
MethodisFrozen
()
packages/web/src/worker/dotlottie.ts:443
MethodisLoaded
* Indicates whether an animation has been successfully loaded and is ready for playback. * Check this before calling play() or other playback metho
packages/web/src/dotlottie.ts:758
MethodisLoaded
()
packages/web/src/worker/dotlottie.ts:423
MethodisPaused
* Indicates whether the animation is currently paused. * True when pause() has been called and animation is not playing or stopped.
packages/web/src/dotlottie.ts:774
MethodisPaused
()
packages/web/src/worker/dotlottie.ts:431
MethodisPlaying
* Indicates whether the animation is currently playing. * True when animation is actively playing, false when paused, stopped, or not started.
packages/web/src/dotlottie.ts:766
MethodisPlaying
()
packages/web/src/worker/dotlottie.ts:427
MethodisReady
* Indicates whether the WASM module and core player have been initialized. * Check this before performing operations that require the player to be
packages/web/src/dotlottie.ts:750
MethodisReady
()
packages/web/src/worker/dotlottie.ts:463
MethodisStateMachineRunning
* Indicates whether a state machine is currently active and running. * True after stateMachineStart() is called and until stateMachineStop() is cal
packages/web/src/dotlottie.ts:710
MethodisStopped
* Indicates whether the animation is currently stopped. * True when stop() has been called or animation hasn't started yet.
packages/web/src/dotlottie.ts:782
MethodisStopped
()
packages/web/src/worker/dotlottie.ts:435
Methodis_complete
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:281
Methodis_complete
* @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:370
Methodis_complete
* @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:399
Methodis_loaded
* @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:1284
Methodis_loaded
* @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:1318
Methodis_paused
* @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:1291
Methodis_paused
* @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:1325
Methodis_playing
* @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:282
Methodis_playing
* @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:311
Methodis_stopped
* @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:289
Methodis_stopped
* @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:318
Methodis_tweening
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:288
Methodis_tweening
* @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:377
Methodis_tweening
* @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:406
Methodlayout
* Gets the current layout configuration for positioning and scaling the animation. * Includes fit mode (contain, cover, fill, etc.) and alignment [
packages/web/src/dotlottie.ts:624
Methodlayout
()
packages/web/src/worker/dotlottie.ts:541
Methodlayout_align_x
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:705
Methodlayout_align_x
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:734
Methodlayout_align_y
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:712
Methodlayout_align_y
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:741
Methodlayout_fit
* @returns {string}
packages/web/src/webgl/dotlottie-player.js:296
Methodlayout_fit
* @returns {string}
packages/web/src/webgpu/dotlottie-player.js:325
Functionload
()
packages/web/src/wasm-loader.ts:29
Functionload
(id: string)
packages/web/rolldown-plugins/plugin-inline-worker.ts:29
Methodload_animation
* Load a Lottie JSON animation. * * `setup_target` must have been called first. * @param {string} data * @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:723
Methodload_animation
* Load a Lottie JSON animation. * * `setup_target` must have been called first. * @param {string} data * @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:752
Methodload_animation_from_id
* Load an animation from an already-loaded .lottie archive by its ID. * * `setup_target` must have been called first. * @param {string}
packages/web/src/webgl/dotlottie-player.js:1067
Methodload_animation_from_id
* Load an animation from an already-loaded .lottie archive by its ID. * * `setup_target` must have been called first. * @param {string}
packages/web/src/webgpu/dotlottie-player.js:1101
Methodload_dotlottie_data
* Load a .lottie archive from raw bytes. * * `setup_target` must have been called first. * @param {Uint8Array} data * @returns {bo
packages/web/src/webgl/dotlottie-player.js:950
Methodload_dotlottie_data
* Load a .lottie archive from raw bytes. * * `setup_target` must have been called first. * @param {Uint8Array} data * @returns {bo
packages/web/src/webgpu/dotlottie-player.js:984
Methodload_font
* @param {string} name * @param {Uint8Array} data * @returns {boolean}
packages/web/src/core/dotlottie-player.js:1214
Methodload_font
* @param {string} name * @param {Uint8Array} data * @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:1300
Methodload_font
* @param {string} name * @param {Uint8Array} data * @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:1334
Methodloop
* Gets the current loop configuration. * Returns true if the animation is set to loop continuously.
packages/web/src/dotlottie.ts:684
Methodloop
()
packages/web/src/worker/dotlottie.ts:513
MethodloopCount
* Gets the number of times the animation has completed a loop during the current playback. * Increments each time the animation completes one full
packages/web/src/dotlottie.ts:800
MethodloopCount
()
packages/web/src/worker/dotlottie.ts:419
Methodloop_animation
* @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:732
Methodloop_animation
* @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:761
Methodloop_count
* @returns {number}
packages/web/src/core/dotlottie-player.js:222
Methodloop_count
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:311
Methodloop_count
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:340
Methodmanifest
* Gets the animation manifest containing metadata about animations, themes, and states. * Returns null if no manifest is available or if the loaded
packages/web/src/dotlottie.ts:645
Methodmanifest
()
packages/web/src/worker/dotlottie.ts:525
Methodmanifest_string
* Returns the animation manifest as a JSON string, or empty string if unavailable. * @returns {string}
packages/web/src/webgl/dotlottie-player.js:790
Methodmanifest_string
* Returns the animation manifest as a JSON string, or empty string if unavailable. * @returns {string}
packages/web/src/webgpu/dotlottie-player.js:819
Methodmarker
* Gets the currently active marker name if a marker-based segment is set. * Returns undefined if no marker is active. Use setMarker() to activate a
packages/web/src/dotlottie.ts:637
Methodmarker
()
packages/web/src/worker/dotlottie.ts:533
Methodmarker_names
* Returns an array of marker name strings. * @returns {any}
packages/web/src/core/dotlottie-player.js:431
Methodmarker_names
* Returns an array of marker name strings. * @returns {any}
packages/web/src/webgl/dotlottie-player.js:520
Methodmarker_names
* Returns an array of marker name strings. * @returns {any}
packages/web/src/webgpu/dotlottie-player.js:549
Methodmarkers
* Returns an array of `{ name, start, end }` objects. * @returns {any}
packages/web/src/core/dotlottie-player.js:1112
Methodmarkers
* Returns an array of `{ name, start, end }` objects. * @returns {any}
packages/web/src/webgl/dotlottie-player.js:1198
Methodmarkers
* Returns an array of `{ name, start, end }` objects. * @returns {any}
packages/web/src/webgpu/dotlottie-player.js:1232
Methodmode
* @returns {Mode}
packages/web/src/core/dotlottie-player.js:1044
Methodmode
()
packages/web/src/worker/dotlottie.ts:467
Methodmode
* @returns {Mode}
packages/web/src/webgl/dotlottie-player.js:1130
Methodmode
* @returns {Mode}
packages/web/src/webgpu/dotlottie-player.js:1164
Methodobserve
(canvas: HTMLCanvasElement, dotLottieInstance: DotLottie | DotLottieWorker)
packages/web/src/resize-observer.ts:36
FunctiononDrop
(acceptedFiles: File[])
apps/viewer/src/components/top-bar.tsx:15
FunctiononDrop
(acceptedFiles: File[])
apps/viewer/src/pages/home.tsx:32
FunctiononDropRejected
(fileRejections: FileRejection[])
apps/viewer/src/components/top-bar.tsx:28
FunctiononDropRejected
(fileRejections: FileRejection[])
apps/viewer/src/pages/home.tsx:45
FunctiononFrame
(event: { currentFrame: number })
examples/react/src/App.tsx:51
FunctiononFrame
(event: { currentFrame: number })
examples/next/src/pages/index.tsx:66
FunctiononLoad
()
apps/viewer/src/components/slot-controller.tsx:385
Functionpause
()
examples/solid/src/App.tsx:36
Functionplay
()
examples/solid/src/App.tsx:32
← previousnext →601–700 of 921, ranked by callers