Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LottieFiles/dotlottie-web
/ functions
Functions
921 in github.com/LottieFiles/dotlottie-web
⨍
Functions
921
◇
Types & classes
150
Method
animation_id
* @returns {string | undefined}
packages/web/src/webgl/dotlottie-player.js:441
Method
animation_id
* @returns {string | undefined}
packages/web/src/webgpu/dotlottie-player.js:470
Method
animation_size
* `[width, height]` of the animation in its native coordinate space. * @returns {Float32Array}
packages/web/src/webgl/dotlottie-player.js:685
Method
animation_size
* `[width, height]` of the animation in its native coordinate space. * @returns {Float32Array}
packages/web/src/webgpu/dotlottie-player.js:714
Function
attributeChangedCallback
(name: string, old: string | null, value: string | null)
packages/wc/src/base-dotlottie-wc.ts:125
Method
audio_volume
* Returns the current global audio volume multiplier. * @returns {number}
packages/web/src/core/dotlottie-player.js:365
Method
audio_volume
* Returns the current global audio volume multiplier. * @returns {number}
packages/web/src/webgl/dotlottie-player.js:454
Method
audio_volume
* Returns the current global audio volume multiplier. * @returns {number}
packages/web/src/webgpu/dotlottie-player.js:483
Method
autoplay
* Gets the autoplay configuration. * Returns true if the animation is configured to start playing automatically when loaded.
packages/web/src/dotlottie.ts:726
Method
autoplay
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:1148
Method
autoplay
()
packages/web/src/worker/dotlottie.ts:505
Method
autoplay
* @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:1234
Method
autoplay
* @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:1268
Method
backgroundColor
* Gets the current background color. * Returns the background color as a string (e.g., '#FFFFFF' or 'transparent').
packages/web/src/dotlottie.ts:718
Method
backgroundColor
()
packages/web/src/worker/dotlottie.ts:509
Method
background_a
* @returns {number}
packages/web/src/core/dotlottie-player.js:372
Method
background_a
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:461
Method
background_a
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:490
Method
background_b
* @returns {number}
packages/web/src/core/dotlottie-player.js:379
Method
background_b
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:468
Method
background_b
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:497
Method
background_g
* @returns {number}
packages/web/src/core/dotlottie-player.js:386
Method
background_g
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:475
Method
background_g
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:504
Method
background_r
* @returns {number}
packages/web/src/core/dotlottie-player.js:393
Method
background_r
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:482
Method
background_r
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:511
Method
buffer
* Gets the raw pixel buffer containing the rendered animation frame. * Returns RGBA pixel data as a Uint8Array for advanced image processing or cus
packages/web/src/dotlottie.ts:598
Method
cancelAnimationFrame
(id: number)
packages/web/src/animation-frame-manager.ts:13
Method
cancelAnimationFrame
(_id: number)
packages/web/src/animation-frame-manager.ts:37
Method
cancelAnimationFrame
(id: number)
packages/web/src/animation-frame-manager.ts:56
Method
canvas
* Gets the canvas element used for rendering the animation. * Returns the HTMLCanvasElement, OffscreenCanvas, or RenderSurface set during initializ
packages/web/src/dotlottie.ts:824
Method
canvas
()
packages/web/src/worker/dotlottie.ts:471
Function
changeSrc
()
examples/solid/src/App.tsx:56
Method
clearSlot
* Clear a slot's custom value * @param slotId - The slot ID to clear * @returns true if successful
packages/web/src/dotlottie.ts:1854
Method
clearSlots
* Clear all slot custom values * @returns true if successful
packages/web/src/dotlottie.ts:1884
Method
clear_marker
()
packages/web/src/webgl/dotlottie-player.js:486
Method
clear_marker
()
packages/web/src/webgpu/dotlottie-player.js:515
Method
clear_segment
* @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:565
Method
clear_segment
* @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:594
Method
clear_slot
* @param {string} id * @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:273
Method
clear_slot
* @param {string} id * @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:302
Method
clear_slots
* @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:363
Method
clear_slots
* @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:392
Function
connectedCallback
()
packages/wc/src/base-dotlottie-wc.ts:106
Method
constructor
* Creates a new DotLottie player instance for rendering Lottie animations. * Initializes the WASM module, event system, and loads animation if src
packages/web/src/dotlottie.ts:170
Method
constructor
()
packages/web/src/animation-frame-manager.ts:47
Method
constructor
()
packages/web/src/core/dotlottie-player.js:1035
Method
constructor
* Creates a worker-based DotLottie player instance that runs in a separate thread. * Use workerId to share a worker across multiple animations for
packages/web/src/worker/dotlottie.ts:143
Method
constructor
()
packages/web/src/webgl/dotlottie-player.js:1121
Method
constructor
(config: WebGLConfig)
packages/web/src/webgl/dotlottie-webgl.ts:18
Method
constructor
()
packages/web/src/webgpu/dotlottie-player.js:1155
Method
constructor
(config: WebGPUConfig)
packages/web/src/webgpu/dotlottie-webgpu.ts:25
Function
createDotLottie
(config: Config)
packages/react/src/webgl/index.tsx:13
Function
createDotLottie
(config: Config)
packages/react/src/webgpu/index.tsx:16
Function
createDotLottieWorker
(config: Config & { workerId?: string })
packages/react/src/dotlottie-worker.tsx:11
Method
currentFrame
* Gets the current frame number of the animation. * Useful for tracking playback position or implementing custom frame displays. Rounded to 2 decim
packages/web/src/dotlottie.ts:790
Method
currentFrame
()
packages/web/src/worker/dotlottie.ts:439
Method
current_frame
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:572
Method
current_frame
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:601
Method
current_loop_count
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:911
Method
current_loop_count
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:938
Method
current_marker
* Name of the currently active marker, or `undefined` if none. * @returns {string | undefined}
packages/web/src/webgl/dotlottie-player.js:693
Method
current_marker
* Name of the currently active marker, or `undefined` if none. * @returns {string | undefined}
packages/web/src/webgpu/dotlottie-player.js:722
Function
decreaseSpeed
()
examples/solid/src/App.tsx:52
Method
device
()
packages/web/src/webgpu/dotlottie-webgpu.ts:172
Function
disconnectedCallback
()
packages/wc/src/base-dotlottie-wc.ts:118
Function
drawFrame
()
apps/viewer/src/components/skottie.tsx:49
Method
duration
* @returns {number}
packages/web/src/core/dotlottie-player.js:1155
Method
duration
()
packages/web/src/worker/dotlottie.ts:459
Method
duration
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:1241
Method
duration
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:1275
Method
emit_on_loop
()
packages/web/src/core/dotlottie-player.js:400
Method
emit_on_loop
()
packages/web/src/webgl/dotlottie-player.js:489
Method
emit_on_loop
()
packages/web/src/webgpu/dotlottie-player.js:518
Method
free
()
packages/web/src/webgl/dotlottie-player.js:265
Method
free
()
packages/web/src/webgpu/dotlottie-player.js:294
Function
getDotLottieInstanceState
(request)
packages/web/src/worker/dotlottie.worker.ts:418
Method
getSlots
* Get all slots as an object with slot IDs as keys * @returns Object containing all slots, or empty object if not loaded
packages/web/src/dotlottie.ts:1700
Function
getStoredTheme
()
apps/viewer/src/context/theme-context.tsx:21
Function
getTransform
(request)
packages/web/src/worker/dotlottie.worker.ts:407
Method
getTransform
* Gets the 3x3 transformation matrix applied to the animation. * Returns a 9-element array representing affine transformations (translation, rotati
packages/web/src/dotlottie.ts:1407
Method
get_slot_ids
* Get all slot IDs as a JS array. * @returns {any}
packages/web/src/webgl/dotlottie-player.js:496
Method
get_slot_ids
* Get all slot IDs as a JS array. * @returns {any}
packages/web/src/webgpu/dotlottie-player.js:525
Method
get_slot_str
* Get the JSON value of a single slot by ID, or `undefined` if not found. * @param {string} id * @returns {string | undefined}
packages/web/src/webgl/dotlottie-player.js:505
Method
get_slot_str
* Get the JSON value of a single slot by ID, or `undefined` if not found. * @param {string} id * @returns {string | undefined}
packages/web/src/webgpu/dotlottie-player.js:534
Method
get_slot_type
* Get the type string of a slot, or `undefined` if not found. * @param {string} id * @returns {string | undefined}
packages/web/src/webgl/dotlottie-player.js:581
Method
get_slot_type
* Get the type string of a slot, or `undefined` if not found. * @param {string} id * @returns {string | undefined}
packages/web/src/webgpu/dotlottie-player.js:610
Method
get_slots_str
* Get all slots as a JSON object string. * @returns {string}
packages/web/src/webgl/dotlottie-player.js:596
Method
get_slots_str
* Get all slots as a JSON object string. * @returns {string}
packages/web/src/webgpu/dotlottie-player.js:625
Method
get_state_machine
* Returns the raw JSON definition of a state machine by ID, or `undefined`. * @param {string} id * @returns {string | undefined}
packages/web/src/webgl/dotlottie-player.js:876
Method
get_state_machine
* Returns the raw JSON definition of a state machine by ID, or `undefined`. * @param {string} id * @returns {string | undefined}
packages/web/src/webgpu/dotlottie-player.js:905
Method
get_transform
* Returns the current affine transform as a flat `Float32Array`. * @returns {Float32Array}
packages/web/src/webgl/dotlottie-player.js:612
Method
get_transform
* Returns the current affine transform as a flat `Float32Array`. * @returns {Float32Array}
packages/web/src/webgpu/dotlottie-player.js:641
Function
handleActiveAnimationChange
(event: Event)
examples/solid/src/App.tsx:75
Function
handleActiveThemeChange
(event: Event)
examples/solid/src/App.tsx:82
Function
handleAutoResizeCanvas
()
examples/solid/src/App.tsx:71
Function
handleChange
(e: React.ChangeEvent<HTMLSelectElement>)
apps/viewer/src/components/playground/example-selector.tsx:15
Function
handleChange
(e: MediaQueryListEvent)
apps/viewer/src/pages/embed.tsx:110
Function
handleChange
(e: MediaQueryListEvent)
apps/viewer/src/context/theme-context.tsx:63
← previous
next →
501–600 of 921, ranked by callers