MCPcopy Create free account

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

Functions921 in github.com/LottieFiles/dotlottie-web

Methodanimation_id
* @returns {string | undefined}
packages/web/src/webgl/dotlottie-player.js:441
Methodanimation_id
* @returns {string | undefined}
packages/web/src/webgpu/dotlottie-player.js:470
Methodanimation_size
* `[width, height]` of the animation in its native coordinate space. * @returns {Float32Array}
packages/web/src/webgl/dotlottie-player.js:685
Methodanimation_size
* `[width, height]` of the animation in its native coordinate space. * @returns {Float32Array}
packages/web/src/webgpu/dotlottie-player.js:714
FunctionattributeChangedCallback
(name: string, old: string | null, value: string | null)
packages/wc/src/base-dotlottie-wc.ts:125
Methodaudio_volume
* Returns the current global audio volume multiplier. * @returns {number}
packages/web/src/core/dotlottie-player.js:365
Methodaudio_volume
* Returns the current global audio volume multiplier. * @returns {number}
packages/web/src/webgl/dotlottie-player.js:454
Methodaudio_volume
* Returns the current global audio volume multiplier. * @returns {number}
packages/web/src/webgpu/dotlottie-player.js:483
Methodautoplay
* Gets the autoplay configuration. * Returns true if the animation is configured to start playing automatically when loaded.
packages/web/src/dotlottie.ts:726
Methodautoplay
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:1148
Methodautoplay
()
packages/web/src/worker/dotlottie.ts:505
Methodautoplay
* @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:1234
Methodautoplay
* @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:1268
MethodbackgroundColor
* Gets the current background color. * Returns the background color as a string (e.g., '#FFFFFF' or 'transparent').
packages/web/src/dotlottie.ts:718
MethodbackgroundColor
()
packages/web/src/worker/dotlottie.ts:509
Methodbackground_a
* @returns {number}
packages/web/src/core/dotlottie-player.js:372
Methodbackground_a
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:461
Methodbackground_a
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:490
Methodbackground_b
* @returns {number}
packages/web/src/core/dotlottie-player.js:379
Methodbackground_b
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:468
Methodbackground_b
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:497
Methodbackground_g
* @returns {number}
packages/web/src/core/dotlottie-player.js:386
Methodbackground_g
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:475
Methodbackground_g
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:504
Methodbackground_r
* @returns {number}
packages/web/src/core/dotlottie-player.js:393
Methodbackground_r
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:482
Methodbackground_r
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:511
Methodbuffer
* 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
MethodcancelAnimationFrame
(id: number)
packages/web/src/animation-frame-manager.ts:13
MethodcancelAnimationFrame
(_id: number)
packages/web/src/animation-frame-manager.ts:37
MethodcancelAnimationFrame
(id: number)
packages/web/src/animation-frame-manager.ts:56
Methodcanvas
* Gets the canvas element used for rendering the animation. * Returns the HTMLCanvasElement, OffscreenCanvas, or RenderSurface set during initializ
packages/web/src/dotlottie.ts:824
Methodcanvas
()
packages/web/src/worker/dotlottie.ts:471
FunctionchangeSrc
()
examples/solid/src/App.tsx:56
MethodclearSlot
* Clear a slot's custom value * @param slotId - The slot ID to clear * @returns true if successful
packages/web/src/dotlottie.ts:1854
MethodclearSlots
* Clear all slot custom values * @returns true if successful
packages/web/src/dotlottie.ts:1884
Methodclear_marker
()
packages/web/src/webgl/dotlottie-player.js:486
Methodclear_marker
()
packages/web/src/webgpu/dotlottie-player.js:515
Methodclear_segment
* @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:565
Methodclear_segment
* @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:594
Methodclear_slot
* @param {string} id * @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:273
Methodclear_slot
* @param {string} id * @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:302
Methodclear_slots
* @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:363
Methodclear_slots
* @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:392
FunctionconnectedCallback
()
packages/wc/src/base-dotlottie-wc.ts:106
Methodconstructor
* 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
Methodconstructor
()
packages/web/src/animation-frame-manager.ts:47
Methodconstructor
()
packages/web/src/core/dotlottie-player.js:1035
Methodconstructor
* 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
Methodconstructor
()
packages/web/src/webgl/dotlottie-player.js:1121
Methodconstructor
(config: WebGLConfig)
packages/web/src/webgl/dotlottie-webgl.ts:18
Methodconstructor
()
packages/web/src/webgpu/dotlottie-player.js:1155
Methodconstructor
(config: WebGPUConfig)
packages/web/src/webgpu/dotlottie-webgpu.ts:25
FunctioncreateDotLottie
(config: Config)
packages/react/src/webgl/index.tsx:13
FunctioncreateDotLottie
(config: Config)
packages/react/src/webgpu/index.tsx:16
FunctioncreateDotLottieWorker
(config: Config & { workerId?: string })
packages/react/src/dotlottie-worker.tsx:11
MethodcurrentFrame
* 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
MethodcurrentFrame
()
packages/web/src/worker/dotlottie.ts:439
Methodcurrent_frame
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:572
Methodcurrent_frame
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:601
Methodcurrent_loop_count
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:911
Methodcurrent_loop_count
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:938
Methodcurrent_marker
* Name of the currently active marker, or `undefined` if none. * @returns {string | undefined}
packages/web/src/webgl/dotlottie-player.js:693
Methodcurrent_marker
* Name of the currently active marker, or `undefined` if none. * @returns {string | undefined}
packages/web/src/webgpu/dotlottie-player.js:722
FunctiondecreaseSpeed
()
examples/solid/src/App.tsx:52
Methoddevice
()
packages/web/src/webgpu/dotlottie-webgpu.ts:172
FunctiondisconnectedCallback
()
packages/wc/src/base-dotlottie-wc.ts:118
FunctiondrawFrame
()
apps/viewer/src/components/skottie.tsx:49
Methodduration
* @returns {number}
packages/web/src/core/dotlottie-player.js:1155
Methodduration
()
packages/web/src/worker/dotlottie.ts:459
Methodduration
* @returns {number}
packages/web/src/webgl/dotlottie-player.js:1241
Methodduration
* @returns {number}
packages/web/src/webgpu/dotlottie-player.js:1275
Methodemit_on_loop
()
packages/web/src/core/dotlottie-player.js:400
Methodemit_on_loop
()
packages/web/src/webgl/dotlottie-player.js:489
Methodemit_on_loop
()
packages/web/src/webgpu/dotlottie-player.js:518
Methodfree
()
packages/web/src/webgl/dotlottie-player.js:265
Methodfree
()
packages/web/src/webgpu/dotlottie-player.js:294
FunctiongetDotLottieInstanceState
(request)
packages/web/src/worker/dotlottie.worker.ts:418
MethodgetSlots
* 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
FunctiongetStoredTheme
()
apps/viewer/src/context/theme-context.tsx:21
FunctiongetTransform
(request)
packages/web/src/worker/dotlottie.worker.ts:407
MethodgetTransform
* 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
Methodget_slot_ids
* Get all slot IDs as a JS array. * @returns {any}
packages/web/src/webgl/dotlottie-player.js:496
Methodget_slot_ids
* Get all slot IDs as a JS array. * @returns {any}
packages/web/src/webgpu/dotlottie-player.js:525
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Methodget_slots_str
* Get all slots as a JSON object string. * @returns {string}
packages/web/src/webgl/dotlottie-player.js:596
Methodget_slots_str
* Get all slots as a JSON object string. * @returns {string}
packages/web/src/webgpu/dotlottie-player.js:625
Methodget_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
Methodget_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
Methodget_transform
* Returns the current affine transform as a flat `Float32Array`. * @returns {Float32Array}
packages/web/src/webgl/dotlottie-player.js:612
Methodget_transform
* Returns the current affine transform as a flat `Float32Array`. * @returns {Float32Array}
packages/web/src/webgpu/dotlottie-player.js:641
FunctionhandleActiveAnimationChange
(event: Event)
examples/solid/src/App.tsx:75
FunctionhandleActiveThemeChange
(event: Event)
examples/solid/src/App.tsx:82
FunctionhandleAutoResizeCanvas
()
examples/solid/src/App.tsx:71
FunctionhandleChange
(e: React.ChangeEvent<HTMLSelectElement>)
apps/viewer/src/components/playground/example-selector.tsx:15
FunctionhandleChange
(e: MediaQueryListEvent)
apps/viewer/src/pages/embed.tsx:110
FunctionhandleChange
(e: MediaQueryListEvent)
apps/viewer/src/context/theme-context.tsx:63
← previousnext →501–600 of 921, ranked by callers