MCPcopy Create free account

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

Functions921 in github.com/LottieFiles/dotlottie-web

Methodpoll_event
* Poll the next player event. Returns `null` if the queue is empty, * otherwise a plain JS object with a `type` string field and optional *
packages/web/src/webgl/dotlottie-player.js:321
Methodpoll_event
* Poll the next player event. Returns `null` if the queue is empty, * otherwise a plain JS object with a `type` string field and optional *
packages/web/src/webgpu/dotlottie-player.js:350
Functionregister_font
(name, data)
packages/web/src/webgl/dotlottie-player.js:232
Functionregister_font
(name, data)
packages/web/src/webgpu/dotlottie-player.js:213
MethodremoveEventListener
(type: T, listener?: EventListener<T>)
packages/web/src/event-manager.ts:253
Methodrender
* Render the current frame without advancing time. * @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:1190
MethodrenderConfig
* Gets the current rendering configuration. * Includes settings like devicePixelRatio, autoResize, and freezeOnOffscreen.
packages/web/src/dotlottie.ts:665
MethodrenderConfig
()
packages/web/src/worker/dotlottie.ts:521
MethodrequestAnimationFrame
(callback: (time: number) => void)
packages/web/src/animation-frame-manager.ts:9
MethodrequestAnimationFrame
(callback: (time: number) => void)
packages/web/src/animation-frame-manager.ts:23
MethodrequestAnimationFrame
(callback: (time: number) => void)
packages/web/src/animation-frame-manager.ts:52
MethodresetSlot
* Reset a slot to its original value * @param slotId - The slot ID to reset * @returns true if successful
packages/web/src/dotlottie.ts:1838
MethodresetSlots
* Reset all slots to their original values * @returns true if successful
packages/web/src/dotlottie.ts:1869
Methodreset_current_loop_count
()
packages/web/src/core/dotlottie-player.js:1003
Methodreset_current_loop_count
()
packages/web/src/webgl/dotlottie-player.js:1089
Methodreset_current_loop_count
()
packages/web/src/webgpu/dotlottie-player.js:1123
Methodreset_slot
* Reset a slot to its default value from the animation. * @param {string} id * @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:330
Methodreset_slot
* Reset a slot to its default value from the animation. * @param {string} id * @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:359
Methodreset_slots
* Reset all slots to their default values from the animation. * @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:385
Methodreset_slots
* Reset all slots to their default values from the animation. * @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:414
Methodreset_theme
* @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:392
Methodreset_theme
* @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:421
Methodresize
()
packages/web/src/webgpu/dotlottie-webgpu.ts:106
MethodresizeHandler
(entries: ResizeObserverEntry[])
packages/web/src/resize-observer.ts:15
FunctionresolveId
(source: string, importer: string | undefined)
packages/web/rolldown-plugins/plugin-inline-worker.ts:18
Methodsegment
* Gets the currently active playback segment as [startFrame, endFrame]. * Returns the effective segment from the WASM core. When no custom segment
packages/web/src/dotlottie.ts:674
Methodsegment
()
packages/web/src/worker/dotlottie.ts:451
Methodsegment_end
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:399
Methodsegment_end
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:428
Methodsegment_start
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:619
Methodsegment_start
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:648
MethodsendMessage
(workerId: string, message: RpcRequest<keyof MethodParamsMap>, transfer?: Transferable[])
packages/web/src/worker/worker-manager.ts:38
MethodsetCanvas
* Changes the canvas element used for rendering. * Useful for moving the animation to a different canvas without recreating the player instance.
packages/web/src/dotlottie.ts:1359
MethodsetCanvas
* Sets the canvas element for rendering in the worker thread. * Cannot change canvas after worker instance is created with a different canvas. *
packages/web/src/worker/dotlottie.ts:483
FunctionsetCanvasRef
(canvas: HTMLCanvasElement | null)
packages/solid/src/use-dotlottie.tsx:73
FunctionsetContainerRef
(el: HTMLDivElement | null)
packages/solid/src/use-dotlottie.tsx:91
FunctionsetLayout
(request)
packages/web/src/worker/dotlottie.worker.ts:458
FunctionsetLoopCount
(request)
packages/web/src/worker/dotlottie.worker.ts:1273
FunctionsetMarker
(request)
packages/web/src/worker/dotlottie.worker.ts:1249
MethodsetSlots
* Sets multiple slot values at once for parameterized animations. * Slots allow runtime customization of colors, text, images, or other properties.
packages/web/src/dotlottie.ts:1621
FunctionsetTransform
(request)
packages/web/src/worker/dotlottie.worker.ts:396
MethodsetTransform
* Applies a 3x3 transformation matrix to the entire animation on the canvas. * Use this to translate, rotate, scale, or skew the animation renderin
packages/web/src/dotlottie.ts:1390
FunctionsetViewport
(request)
packages/web/src/worker/dotlottie.worker.ts:1218
FunctionsetWasmUrl
(url: string)
packages/react/src/webgl/index.tsx:23
FunctionsetWasmUrl
(url: string)
packages/react/src/webgpu/index.tsx:25
FunctionsetWasmUrl
(url: string)
packages/solid/src/use-dotlottie.tsx:345
FunctionsetWasmUrl
(url: string)
packages/web/src/wasm-loader.ts:81
FunctionsetWasmUrl
(url: string)
packages/vue/src/dotlottie.ts:334
MethodsetWasmUrl
(url: string)
packages/web/src/webgl/dotlottie-webgl.ts:90
MethodsetWasmUrl
(url: string)
packages/web/src/webgpu/dotlottie-webgpu.ts:176
Methodset_audio_volume
* Set the global audio volume multiplier (clamped to [0.0, 1.0]). * @param {number} volume
packages/web/src/core/dotlottie-player.js:762
Methodset_audio_volume
* Set the global audio volume multiplier (clamped to [0.0, 1.0]). * @param {number} volume
packages/web/src/webgl/dotlottie-player.js:839
Methodset_audio_volume
* Set the global audio volume multiplier (clamped to [0.0, 1.0]). * @param {number} volume
packages/web/src/webgpu/dotlottie-player.js:868
Methodset_autoplay
* @param {boolean} v
packages/web/src/webgl/dotlottie-player.js:527
Methodset_autoplay
* @param {boolean} v
packages/web/src/webgpu/dotlottie-player.js:556
Methodset_background
* Set background colour. Pass `(0, 0, 0, 0)` to clear. * @param {number} r * @param {number} g * @param {number} b * @param {numbe
packages/web/src/webgl/dotlottie-player.js:744
Methodset_background
* Set background colour. Pass `(0, 0, 0, 0)` to clear. * @param {number} r * @param {number} g * @param {number} b * @param {numbe
packages/web/src/webgpu/dotlottie-player.js:773
Methodset_color_slot
* Set a color slot (`r`, `g`, `b` in [0, 1]). * @param {string} id * @param {number} r * @param {number} g * @param {number} b
packages/web/src/core/dotlottie-player.js:667
Methodset_color_slot
* Set a color slot (`r`, `g`, `b` in [0, 1]). * @param {string} id * @param {number} r * @param {number} g * @param {number} b
packages/web/src/webgl/dotlottie-player.js:756
Methodset_color_slot
* Set a color slot (`r`, `g`, `b` in [0, 1]). * @param {string} id * @param {number} r * @param {number} g * @param {number} b
packages/web/src/webgpu/dotlottie-player.js:785
Methodset_frame
* @param {number} no * @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:1312
Methodset_frame
* @param {number} no * @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:1346
Methodset_layout
* Set the layout. * * `fit` is one of `"contain"`, `"fill"`, `"cover"`, `"fit-width"`, * `"fit-height"`, `"none"`. `align_x` / `align_
packages/web/src/webgl/dotlottie-player.js:346
Methodset_layout
* Set the layout. * * `fit` is one of `"contain"`, `"fill"`, `"cover"`, `"fit-width"`, * `"fit-height"`, `"none"`. `align_x` / `align_
packages/web/src/webgpu/dotlottie-player.js:375
Methodset_loop
* @param {boolean} v
packages/web/src/webgl/dotlottie-player.js:1248
Methodset_loop
* @param {boolean} v
packages/web/src/webgpu/dotlottie-player.js:1282
Methodset_loop_count
* @param {number} n
packages/web/src/webgl/dotlottie-player.js:765
Methodset_loop_count
* @param {number} n
packages/web/src/webgpu/dotlottie-player.js:794
Methodset_marker
* @param {string} name
packages/web/src/webgl/dotlottie-player.js:355
Methodset_marker
* @param {string} name
packages/web/src/webgpu/dotlottie-player.js:384
Methodset_mode
* @param {Mode} mode
packages/web/src/webgl/dotlottie-player.js:1254
Methodset_mode
* @param {Mode} mode
packages/web/src/webgpu/dotlottie-player.js:1288
Methodset_position_slot
* @param {string} id * @param {number} x * @param {number} y * @returns {boolean}
packages/web/src/core/dotlottie-player.js:816
Methodset_position_slot
* @param {string} id * @param {number} x * @param {number} y * @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:893
Methodset_position_slot
* @param {string} id * @param {number} x * @param {number} y * @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:922
Methodset_quality
* @param {number} quality * @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:407
Methodset_quality
* @param {number} quality * @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:436
Methodset_scalar_slot
* @param {string} id * @param {number} value * @returns {boolean}
packages/web/src/core/dotlottie-player.js:718
Methodset_scalar_slot
* @param {string} id * @param {number} value * @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:807
Methodset_scalar_slot
* @param {string} id * @param {number} value * @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:836
Methodset_segment
* @param {number} start * @param {number} end * @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:416
Methodset_segment
* @param {number} start * @param {number} end * @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:445
Methodset_slot_str
* Set a single slot by ID from a JSON value string. * @param {string} id * @param {string} json * @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:536
Methodset_slot_str
* Set a single slot by ID from a JSON value string. * @param {string} id * @param {string} json * @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:565
Methodset_slots_str
* Set multiple slots at once from a JSON string. * @param {string} json * @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:628
Methodset_slots_str
* Set multiple slots at once from a JSON string. * @param {string} json * @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:657
Methodset_speed
* @param {number} speed
packages/web/src/webgl/dotlottie-player.js:1319
Methodset_speed
* @param {number} speed
packages/web/src/webgpu/dotlottie-player.js:1353
Methodset_text_slot
* @param {string} id * @param {string} text * @returns {boolean}
packages/web/src/core/dotlottie-player.js:550
Methodset_text_slot
* @param {string} id * @param {string} text * @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:639
Methodset_text_slot
* @param {string} id * @param {string} text * @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:668
Methodset_theme
* @param {string} id * @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:1326
Methodset_theme
* @param {string} id * @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:1360
Methodset_theme_data
* @param {string} data * @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:772
Methodset_theme_data
* @param {string} data * @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:801
Methodset_transform
* @param {Float32Array} data * @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:651
Methodset_transform
* @param {Float32Array} data * @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:680
Methodset_use_frame_interpolation
* @param {boolean} v
packages/web/src/webgl/dotlottie-player.js:1118
Methodset_use_frame_interpolation
* @param {boolean} v
packages/web/src/webgpu/dotlottie-player.js:1152
Methodset_vector_slot
* @param {string} id * @param {number} x * @param {number} y * @returns {boolean}
packages/web/src/core/dotlottie-player.js:730
← previousnext →701–800 of 921, ranked by callers