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
↓ 3 callers
Method
load
* Dynamically loads a new animation in the worker thread, replacing the current one. * Awaits worker response before resolving. Stops current playb
packages/web/src/worker/dotlottie.ts:703
↓ 3 callers
Function
modeToCore
(mode: Mode)
packages/web/src/dotlottie.ts:48
↓ 3 callers
Function
passArray8ToWasm0
(arg, malloc)
packages/web/src/core/dotlottie-player.js:121
↓ 3 callers
Function
passArray8ToWasm0
(arg, malloc)
packages/web/src/webgl/dotlottie-player.js:210
↓ 3 callers
Function
passArray8ToWasm0
(arg, malloc)
packages/web/src/webgpu/dotlottie-player.js:191
↓ 3 callers
Method
resetTheme
* Removes the currently applied theme and restores original animation colors. * Use this to revert to the default appearance after applying a theme
packages/web/src/dotlottie.ts:1581
↓ 3 callers
Method
setTextSlot
* Set a text slot value (always static - text documents don't support animation) * Supports partial updates - only provided properties will be chan
packages/web/src/dotlottie.ts:1799
↓ 3 callers
Function
setWasmUrl
(url: string)
packages/wc/src/index.ts:6
↓ 3 callers
Method
set_layout
* Set the layout. * * `fit` is one of `"contain"`, `"fill"`, `"cover"`, `"fit-width"`, * `"fit-height"`, `"none"`. `align_x` / `align_
packages/web/src/core/dotlottie-player.js:257
↓ 3 callers
Method
set_loop
* @param {boolean} v
packages/web/src/core/dotlottie-player.js:1162
↓ 3 callers
Method
set_loop_count
* @param {number} n
packages/web/src/core/dotlottie-player.js:676
↓ 3 callers
Method
set_mode
* @param {Mode} mode
packages/web/src/core/dotlottie-player.js:1168
↓ 3 callers
Method
set_quality
* @param {number} quality * @returns {boolean}
packages/web/src/core/dotlottie-player.js:318
↓ 3 callers
Method
set_speed
* @param {number} speed
packages/web/src/core/dotlottie-player.js:1233
↓ 3 callers
Method
set_use_frame_interpolation
* @param {boolean} v
packages/web/src/core/dotlottie-player.js:1032
↓ 3 callers
Function
unmount
()
packages/wc/__tests__/dotlottie-wc.spec.ts:30
↓ 3 callers
Function
useTheme
()
apps/viewer/src/context/theme-context.tsx:95
↓ 2 callers
Function
__wbg_finalize_init
(instance, module)
packages/web/src/core/dotlottie-player.js:1434
↓ 2 callers
Function
__wbg_finalize_init
(instance, module)
packages/web/src/webgl/dotlottie-player.js:1771
↓ 2 callers
Function
__wbg_finalize_init
(instance, module)
packages/web/src/webgpu/dotlottie-player.js:2192
↓ 2 callers
Function
__wbg_get_imports
()
packages/web/src/core/dotlottie-player.js:1295
↓ 2 callers
Function
__wbg_get_imports
()
packages/web/src/webgl/dotlottie-player.js:1381
↓ 2 callers
Function
__wbg_get_imports
()
packages/web/src/webgpu/dotlottie-player.js:1415
↓ 2 callers
Function
__wbg_init_memory
(imports, memory)
packages/web/src/core/dotlottie-player.js:1430
↓ 2 callers
Function
__wbg_init_memory
(imports, memory)
packages/web/src/webgl/dotlottie-player.js:1767
↓ 2 callers
Function
__wbg_init_memory
(imports, memory)
packages/web/src/webgpu/dotlottie-player.js:2188
↓ 2 callers
Method
_create
(config: Config)
packages/web/src/worker/dotlottie.ts:384
↓ 2 callers
Method
_setupGpuContext
()
packages/web/src/webgpu/dotlottie-webgpu.ts:76
↓ 2 callers
Method
_setupStateMachineListeners
()
packages/web/src/dotlottie.ts:2332
↓ 2 callers
Method
_setupStateMachineListeners
()
packages/web/src/worker/dotlottie.ts:1394
↓ 2 callers
Function
addToExternrefTable0
(obj)
packages/web/src/core/dotlottie-player.js:77
↓ 2 callers
Function
addToExternrefTable0
(obj)
packages/web/src/webgpu/dotlottie-player.js:3
↓ 2 callers
Method
animation_id
* @returns {string | undefined}
packages/web/src/core/dotlottie-player.js:352
↓ 2 callers
Function
applyGradient
(start: string, end: string)
apps/viewer/src/components/slot-controller.tsx:132
↓ 2 callers
Method
cancelAnimationFrame
(id: number)
packages/web/src/animation-frame-manager.ts:4
↓ 2 callers
Method
clear_marker
()
packages/web/src/core/dotlottie-player.js:397
↓ 2 callers
Function
compressCode
(code: string)
apps/viewer/src/utils/url-compression.ts:7
↓ 2 callers
Function
coreToMode
(mode: CoreMode)
packages/web/src/dotlottie.ts:64
↓ 2 callers
Function
createCanvas
()
packages/web/tests/test-utils.ts:3
↓ 2 callers
Method
destroy
()
packages/web/src/webgpu/dotlottie-webgpu.ts:155
↓ 2 callers
Function
getArrayU8FromWasm0
(ptr, len)
packages/web/src/webgl/dotlottie-player.js:12
↓ 2 callers
Function
getCanvasSize
( canvas: HTMLCanvasElement | OffscreenCanvas, devicePixelRatio: number, )
packages/web/src/worker/dotlottie.ts:27
↓ 2 callers
Function
getCodeFromUrl
()
apps/viewer/src/utils/url-compression.ts:53
↓ 2 callers
Function
getFloat32ArrayMemory0
()
packages/web/src/webgl/dotlottie-player.js:126
↓ 2 callers
Function
getThemeFromUrl
()
apps/viewer/src/pages/embed.tsx:12
↓ 2 callers
Function
getTitle
()
apps/viewer/src/pages/playground.tsx:70
↓ 2 callers
Method
getWorker
(workerId: string)
packages/web/src/worker/worker-manager.ts:18
↓ 2 callers
Method
get_pixel_buffer
* Zero-copy `Uint8Array` view into WASM linear memory. * * **Use the returned array immediately.** Do not store the reference across *
packages/web/src/core/dotlottie-player.js:754
↓ 2 callers
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/core/dotlottie-player.js:416
↓ 2 callers
Function
handleOpenUrl
(message: string)
packages/web/src/utils.ts:157
↓ 2 callers
Function
handler
(e: MediaQueryListEvent)
apps/viewer/src/pages/playground.tsx:98
↓ 2 callers
Function
hexToRgb
(hex: string)
apps/viewer/src/components/slot-controller.tsx:133
↓ 2 callers
Function
initFromBytes
(url: string)
packages/web/src/wasm-loader.ts:16
↓ 2 callers
Function
initFromUrl
(url: string)
packages/web/src/wasm-loader.ts:8
↓ 2 callers
Function
isLottieJSON
(json: Record<string, unknown>)
packages/web/src/utils.ts:78
↓ 2 callers
Function
load
(config = {})
packages/vue/src/dotlottie.ts:89
↓ 2 callers
Method
load_animation
* Load a Lottie JSON animation. * * `setup_target` must have been called first. * @param {string} data * @returns {boolean}
packages/web/src/core/dotlottie-player.js:634
↓ 2 callers
Function
n
(t)
fixtures/profiler.js:13
↓ 2 callers
Method
resetSegment
* Clears the user-defined segment, restoring playback to the full animation range [0, totalFrames - 1].
packages/web/src/dotlottie.ts:1431
↓ 2 callers
Function
resolveTheme
(theme: Theme)
apps/viewer/src/context/theme-context.tsx:30
↓ 2 callers
Method
set_autoplay
* @param {boolean} v
packages/web/src/core/dotlottie-player.js:438
↓ 2 callers
Method
set_frame
* @param {number} no * @returns {boolean}
packages/web/src/core/dotlottie-player.js:1226
↓ 2 callers
Method
set_webgl_context
* Store the WebGL2 context. Call before `load_animation`. * Each player instance owns its own context, enabling multiple * WebGL canvases s
packages/web/src/webgl/dotlottie-player.js:905
↓ 2 callers
Function
toSet
(arr: string[])
packages/web/tests/dotlottie.test.ts:2485
↓ 2 callers
Method
unfreeze
()
packages/web/src/worker/dotlottie.ts:788
↓ 1 callers
Method
__destroy_into_raw
()
packages/web/src/core/dotlottie-player.js:169
↓ 1 callers
Method
__destroy_into_raw
()
packages/web/src/webgl/dotlottie-player.js:258
↓ 1 callers
Method
__destroy_into_raw
()
packages/web/src/webgpu/dotlottie-player.js:287
↓ 1 callers
Function
__wbg_load
(module, imports)
packages/web/src/core/dotlottie-player.js:1264
↓ 1 callers
Function
__wbg_load
(module, imports)
packages/web/src/webgl/dotlottie-player.js:1350
↓ 1 callers
Function
__wbg_load
(module, imports)
packages/web/src/webgpu/dotlottie-player.js:1384
↓ 1 callers
Method
_createCore
()
packages/web/src/dotlottie.ts:248
↓ 1 callers
Method
_createDotLottieInstance
(config: Config)
packages/wc/src/dotlottie-wc.ts:10
↓ 1 callers
Method
_fetchData
(src: string)
packages/web/src/dotlottie.ts:441
↓ 1 callers
Method
_initWasm
()
packages/web/src/dotlottie.ts:244
↓ 1 callers
Method
_initializeCanvas
()
packages/web/src/dotlottie.ts:990
↓ 1 callers
Method
_initializeObserver
()
packages/web/src/offscreen-observer.ts:10
↓ 1 callers
Method
_initializeObserver
()
packages/web/src/resize-observer.ts:12
↓ 1 callers
Method
_onCoreCreated
()
packages/web/src/dotlottie.ts:252
↓ 1 callers
Method
_setupRendererOnCanvas
()
packages/web/src/dotlottie.ts:1021
↓ 1 callers
Method
_setupTarget
(width: number, height: number)
packages/web/src/webgpu/dotlottie-webgpu.ts:131
↓ 1 callers
Function
addWasmCSPPolicy
()
packages/web/tests/test-utils.ts:19
↓ 1 callers
Method
animationSize
* Gets the original dimensions of the animation as defined in the source file. * Returns width and height in pixels representing the animation's in
packages/web/src/dotlottie.ts:1979
↓ 1 callers
Method
animationSize
()
packages/web/src/worker/dotlottie.ts:939
↓ 1 callers
Method
animation_size
* `[width, height]` of the animation in its native coordinate space. * @returns {Float32Array}
packages/web/src/core/dotlottie-player.js:596
↓ 1 callers
Method
assignAnimationToWorker
(animationId: string, workerId: string)
packages/web/src/worker/worker-manager.ts:30
↓ 1 callers
Method
broadcastMessage
(message: RpcRequest<keyof MethodParamsMap>, transfer?: Transferable[])
packages/web/src/worker/worker-manager.ts:42
↓ 1 callers
Method
clearSlot
(slotId: string)
packages/web/src/worker/dotlottie.ts:884
↓ 1 callers
Method
clearSlots
()
packages/web/src/worker/dotlottie.ts:896
↓ 1 callers
Method
clear_slot
* @param {string} id * @returns {boolean}
packages/web/src/core/dotlottie-player.js:184
↓ 1 callers
Method
clear_slots
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:274
↓ 1 callers
Function
create
()
examples/wc/src/main.ts:49
↓ 1 callers
Function
createCDNDotLottieInstance
( version: string, config: Omit<DotLottieCDNPlayerProps, 'version' | 'dotLottieRefCallback'> & { canvas: H
apps/viewer/src/components/dotlottie-cdn-player.tsx:24
↓ 1 callers
Function
createDotLottie
(config: Config)
packages/react/src/dotlottie.tsx:12
↓ 1 callers
Function
createDotLottieInstance
( renderer: 'webgl' | 'webgpu', config: Omit<DotLottieGPUPlayerProps, 'renderer' | 'dotLottieRefCallback'>
apps/viewer/src/components/dotlottie-gpu-player.tsx:24
↓ 1 callers
Method
current_frame
* @returns {number}
packages/web/src/core/dotlottie-player.js:483
↓ 1 callers
Method
current_loop_count
* @returns {number}
packages/web/src/core/dotlottie-player.js:825
↓ 1 callers
Method
current_marker
* Name of the currently active marker, or `undefined` if none. * @returns {string | undefined}
packages/web/src/core/dotlottie-player.js:604
↓ 1 callers
Function
debugString
(val)
packages/web/src/webgl/dotlottie-player.js:138
↓ 1 callers
Function
debugString
(val)
packages/web/src/webgpu/dotlottie-player.js:106
← previous
next →
101–200 of 921, ranked by callers