MCPcopy Create free account

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

Functions921 in github.com/LottieFiles/dotlottie-web

↓ 3 callersMethodload
* 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 callersFunctionmodeToCore
(mode: Mode)
packages/web/src/dotlottie.ts:48
↓ 3 callersFunctionpassArray8ToWasm0
(arg, malloc)
packages/web/src/core/dotlottie-player.js:121
↓ 3 callersFunctionpassArray8ToWasm0
(arg, malloc)
packages/web/src/webgl/dotlottie-player.js:210
↓ 3 callersFunctionpassArray8ToWasm0
(arg, malloc)
packages/web/src/webgpu/dotlottie-player.js:191
↓ 3 callersMethodresetTheme
* 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 callersMethodsetTextSlot
* 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 callersFunctionsetWasmUrl
(url: string)
packages/wc/src/index.ts:6
↓ 3 callersMethodset_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 callersMethodset_loop
* @param {boolean} v
packages/web/src/core/dotlottie-player.js:1162
↓ 3 callersMethodset_loop_count
* @param {number} n
packages/web/src/core/dotlottie-player.js:676
↓ 3 callersMethodset_mode
* @param {Mode} mode
packages/web/src/core/dotlottie-player.js:1168
↓ 3 callersMethodset_quality
* @param {number} quality * @returns {boolean}
packages/web/src/core/dotlottie-player.js:318
↓ 3 callersMethodset_speed
* @param {number} speed
packages/web/src/core/dotlottie-player.js:1233
↓ 3 callersMethodset_use_frame_interpolation
* @param {boolean} v
packages/web/src/core/dotlottie-player.js:1032
↓ 3 callersFunctionunmount
()
packages/wc/__tests__/dotlottie-wc.spec.ts:30
↓ 3 callersFunctionuseTheme
()
apps/viewer/src/context/theme-context.tsx:95
↓ 2 callersFunction__wbg_finalize_init
(instance, module)
packages/web/src/core/dotlottie-player.js:1434
↓ 2 callersFunction__wbg_finalize_init
(instance, module)
packages/web/src/webgl/dotlottie-player.js:1771
↓ 2 callersFunction__wbg_finalize_init
(instance, module)
packages/web/src/webgpu/dotlottie-player.js:2192
↓ 2 callersFunction__wbg_get_imports
()
packages/web/src/core/dotlottie-player.js:1295
↓ 2 callersFunction__wbg_get_imports
()
packages/web/src/webgl/dotlottie-player.js:1381
↓ 2 callersFunction__wbg_get_imports
()
packages/web/src/webgpu/dotlottie-player.js:1415
↓ 2 callersFunction__wbg_init_memory
(imports, memory)
packages/web/src/core/dotlottie-player.js:1430
↓ 2 callersFunction__wbg_init_memory
(imports, memory)
packages/web/src/webgl/dotlottie-player.js:1767
↓ 2 callersFunction__wbg_init_memory
(imports, memory)
packages/web/src/webgpu/dotlottie-player.js:2188
↓ 2 callersMethod_create
(config: Config)
packages/web/src/worker/dotlottie.ts:384
↓ 2 callersMethod_setupGpuContext
()
packages/web/src/webgpu/dotlottie-webgpu.ts:76
↓ 2 callersMethod_setupStateMachineListeners
()
packages/web/src/dotlottie.ts:2332
↓ 2 callersMethod_setupStateMachineListeners
()
packages/web/src/worker/dotlottie.ts:1394
↓ 2 callersFunctionaddToExternrefTable0
(obj)
packages/web/src/core/dotlottie-player.js:77
↓ 2 callersFunctionaddToExternrefTable0
(obj)
packages/web/src/webgpu/dotlottie-player.js:3
↓ 2 callersMethodanimation_id
* @returns {string | undefined}
packages/web/src/core/dotlottie-player.js:352
↓ 2 callersFunctionapplyGradient
(start: string, end: string)
apps/viewer/src/components/slot-controller.tsx:132
↓ 2 callersMethodcancelAnimationFrame
(id: number)
packages/web/src/animation-frame-manager.ts:4
↓ 2 callersMethodclear_marker
()
packages/web/src/core/dotlottie-player.js:397
↓ 2 callersFunctioncompressCode
(code: string)
apps/viewer/src/utils/url-compression.ts:7
↓ 2 callersFunctioncoreToMode
(mode: CoreMode)
packages/web/src/dotlottie.ts:64
↓ 2 callersFunctioncreateCanvas
()
packages/web/tests/test-utils.ts:3
↓ 2 callersMethoddestroy
()
packages/web/src/webgpu/dotlottie-webgpu.ts:155
↓ 2 callersFunctiongetArrayU8FromWasm0
(ptr, len)
packages/web/src/webgl/dotlottie-player.js:12
↓ 2 callersFunctiongetCanvasSize
( canvas: HTMLCanvasElement | OffscreenCanvas, devicePixelRatio: number, )
packages/web/src/worker/dotlottie.ts:27
↓ 2 callersFunctiongetCodeFromUrl
()
apps/viewer/src/utils/url-compression.ts:53
↓ 2 callersFunctiongetFloat32ArrayMemory0
()
packages/web/src/webgl/dotlottie-player.js:126
↓ 2 callersFunctiongetThemeFromUrl
()
apps/viewer/src/pages/embed.tsx:12
↓ 2 callersFunctiongetTitle
()
apps/viewer/src/pages/playground.tsx:70
↓ 2 callersMethodgetWorker
(workerId: string)
packages/web/src/worker/worker-manager.ts:18
↓ 2 callersMethodget_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 callersMethodget_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 callersFunctionhandleOpenUrl
(message: string)
packages/web/src/utils.ts:157
↓ 2 callersFunctionhandler
(e: MediaQueryListEvent)
apps/viewer/src/pages/playground.tsx:98
↓ 2 callersFunctionhexToRgb
(hex: string)
apps/viewer/src/components/slot-controller.tsx:133
↓ 2 callersFunctioninitFromBytes
(url: string)
packages/web/src/wasm-loader.ts:16
↓ 2 callersFunctioninitFromUrl
(url: string)
packages/web/src/wasm-loader.ts:8
↓ 2 callersFunctionisLottieJSON
(json: Record<string, unknown>)
packages/web/src/utils.ts:78
↓ 2 callersFunctionload
(config = {})
packages/vue/src/dotlottie.ts:89
↓ 2 callersMethodload_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 callersFunctionn
(t)
fixtures/profiler.js:13
↓ 2 callersMethodresetSegment
* Clears the user-defined segment, restoring playback to the full animation range [0, totalFrames - 1].
packages/web/src/dotlottie.ts:1431
↓ 2 callersFunctionresolveTheme
(theme: Theme)
apps/viewer/src/context/theme-context.tsx:30
↓ 2 callersMethodset_autoplay
* @param {boolean} v
packages/web/src/core/dotlottie-player.js:438
↓ 2 callersMethodset_frame
* @param {number} no * @returns {boolean}
packages/web/src/core/dotlottie-player.js:1226
↓ 2 callersMethodset_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 callersFunctiontoSet
(arr: string[])
packages/web/tests/dotlottie.test.ts:2485
↓ 2 callersMethodunfreeze
()
packages/web/src/worker/dotlottie.ts:788
↓ 1 callersMethod__destroy_into_raw
()
packages/web/src/core/dotlottie-player.js:169
↓ 1 callersMethod__destroy_into_raw
()
packages/web/src/webgl/dotlottie-player.js:258
↓ 1 callersMethod__destroy_into_raw
()
packages/web/src/webgpu/dotlottie-player.js:287
↓ 1 callersFunction__wbg_load
(module, imports)
packages/web/src/core/dotlottie-player.js:1264
↓ 1 callersFunction__wbg_load
(module, imports)
packages/web/src/webgl/dotlottie-player.js:1350
↓ 1 callersFunction__wbg_load
(module, imports)
packages/web/src/webgpu/dotlottie-player.js:1384
↓ 1 callersMethod_createCore
()
packages/web/src/dotlottie.ts:248
↓ 1 callersMethod_createDotLottieInstance
(config: Config)
packages/wc/src/dotlottie-wc.ts:10
↓ 1 callersMethod_fetchData
(src: string)
packages/web/src/dotlottie.ts:441
↓ 1 callersMethod_initWasm
()
packages/web/src/dotlottie.ts:244
↓ 1 callersMethod_initializeCanvas
()
packages/web/src/dotlottie.ts:990
↓ 1 callersMethod_initializeObserver
()
packages/web/src/offscreen-observer.ts:10
↓ 1 callersMethod_initializeObserver
()
packages/web/src/resize-observer.ts:12
↓ 1 callersMethod_onCoreCreated
()
packages/web/src/dotlottie.ts:252
↓ 1 callersMethod_setupRendererOnCanvas
()
packages/web/src/dotlottie.ts:1021
↓ 1 callersMethod_setupTarget
(width: number, height: number)
packages/web/src/webgpu/dotlottie-webgpu.ts:131
↓ 1 callersFunctionaddWasmCSPPolicy
()
packages/web/tests/test-utils.ts:19
↓ 1 callersMethodanimationSize
* 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 callersMethodanimationSize
()
packages/web/src/worker/dotlottie.ts:939
↓ 1 callersMethodanimation_size
* `[width, height]` of the animation in its native coordinate space. * @returns {Float32Array}
packages/web/src/core/dotlottie-player.js:596
↓ 1 callersMethodassignAnimationToWorker
(animationId: string, workerId: string)
packages/web/src/worker/worker-manager.ts:30
↓ 1 callersMethodbroadcastMessage
(message: RpcRequest<keyof MethodParamsMap>, transfer?: Transferable[])
packages/web/src/worker/worker-manager.ts:42
↓ 1 callersMethodclearSlot
(slotId: string)
packages/web/src/worker/dotlottie.ts:884
↓ 1 callersMethodclearSlots
()
packages/web/src/worker/dotlottie.ts:896
↓ 1 callersMethodclear_slot
* @param {string} id * @returns {boolean}
packages/web/src/core/dotlottie-player.js:184
↓ 1 callersMethodclear_slots
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:274
↓ 1 callersFunctioncreate
()
examples/wc/src/main.ts:49
↓ 1 callersFunctioncreateCDNDotLottieInstance
( version: string, config: Omit<DotLottieCDNPlayerProps, 'version' | 'dotLottieRefCallback'> & { canvas: H
apps/viewer/src/components/dotlottie-cdn-player.tsx:24
↓ 1 callersFunctioncreateDotLottie
(config: Config)
packages/react/src/dotlottie.tsx:12
↓ 1 callersFunctioncreateDotLottieInstance
( renderer: 'webgl' | 'webgpu', config: Omit<DotLottieGPUPlayerProps, 'renderer' | 'dotLottieRefCallback'>
apps/viewer/src/components/dotlottie-gpu-player.tsx:24
↓ 1 callersMethodcurrent_frame
* @returns {number}
packages/web/src/core/dotlottie-player.js:483
↓ 1 callersMethodcurrent_loop_count
* @returns {number}
packages/web/src/core/dotlottie-player.js:825
↓ 1 callersMethodcurrent_marker
* Name of the currently active marker, or `undefined` if none. * @returns {string | undefined}
packages/web/src/core/dotlottie-player.js:604
↓ 1 callersFunctiondebugString
(val)
packages/web/src/webgl/dotlottie-player.js:138
↓ 1 callersFunctiondebugString
(val)
packages/web/src/webgpu/dotlottie-player.js:106
← previousnext →101–200 of 921, ranked by callers