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
↓ 1 callers
Function
decompressCode
(compressed: string)
apps/viewer/src/utils/url-compression.ts:15
↓ 1 callers
Function
destroy
()
examples/wc/src/main.ts:59
↓ 1 callers
Method
destroy
* Cleans up and destroys the player instance in the worker thread, releasing resources. * Awaits worker response before resolving. Stops playback a
packages/web/src/worker/dotlottie.ts:762
↓ 1 callers
Method
duration
* Gets the total duration of the animation in seconds. * Represents the time to play from the first frame to the last at normal speed (speed = 1).
packages/web/src/dotlottie.ts:816
↓ 1 callers
Function
executeCommand
( rpcRequest: RpcRequest<T>, )
packages/web/src/worker/dotlottie.worker.ts:1287
↓ 1 callers
Function
fitToString
(fit: string)
packages/web/src/dotlottie.ts:82
↓ 1 callers
Method
free
()
packages/web/src/core/dotlottie-player.js:176
↓ 1 callers
Function
generateAnimationUrls
(count: number)
apps/viewer/src/pages/list.tsx:16
↓ 1 callers
Function
generateSrcdoc
(code: string, theme: ResolvedTheme)
apps/viewer/src/components/playground/preview-iframe.tsx:12
↓ 1 callers
Function
generateSrcdoc
(code: string, theme: ResolvedTheme)
apps/viewer/src/pages/embed.tsx:21
↓ 1 callers
Function
getArrayF32FromWasm0
(ptr, len)
packages/web/src/webgl/dotlottie-player.js:133
↓ 1 callers
Function
getArrayI32FromWasm0
(ptr, len)
packages/web/src/webgl/dotlottie-player.js:119
↓ 1 callers
Function
getArrayU8FromWasm0
(ptr, len)
packages/web/src/webgpu/dotlottie-player.js:101
↓ 1 callers
Function
getEmbedHtml
(code: string, width = 400, height = 400)
apps/viewer/src/utils/url-compression.ts:44
↓ 1 callers
Function
getEmbedUrl
(code: string)
apps/viewer/src/utils/url-compression.ts:35
↓ 1 callers
Function
getFloat32ArrayMemory0
()
packages/web/src/core/dotlottie-player.js:107
↓ 1 callers
Function
getFloat32ArrayMemory0
()
packages/web/src/webgpu/dotlottie-player.js:177
↓ 1 callers
Function
getIcon
()
apps/viewer/src/pages/playground.tsx:59
↓ 1 callers
Function
getInt32ArrayMemory0
()
packages/web/src/webgl/dotlottie-player.js:112
↓ 1 callers
Method
getSlot
(slotId: string)
packages/web/src/worker/dotlottie.ts:836
↓ 1 callers
Method
getSlotIds
* Get all slot IDs in the animation * @returns Array of slot ID strings
packages/web/src/dotlottie.ts:1650
↓ 1 callers
Method
getSlotIds
()
packages/web/src/worker/dotlottie.ts:824
↓ 1 callers
Method
getSlotType
* Get the type of a slot * @param slotId - The slot ID to query * @returns The slot type ('color', 'gradient', 'text', 'scalar', 'vector', 'posi
packages/web/src/dotlottie.ts:1667
↓ 1 callers
Method
getSlotType
(slotId: string)
packages/web/src/worker/dotlottie.ts:830
↓ 1 callers
Method
getSlots
()
packages/web/src/worker/dotlottie.ts:842
↓ 1 callers
Function
getSystemTheme
()
apps/viewer/src/pages/embed.tsx:7
↓ 1 callers
Function
getSystemTheme
()
apps/viewer/src/context/theme-context.tsx:16
↓ 1 callers
Function
getThemeExtension
(resolvedTheme: ResolvedTheme)
apps/viewer/src/components/playground/code-editor.tsx:16
↓ 1 callers
Method
getTransform
()
packages/web/src/worker/dotlottie.ts:951
↓ 1 callers
Method
get_slot_ids
* Get all slot IDs as a JS array. * @returns {any}
packages/web/src/core/dotlottie-player.js:407
↓ 1 callers
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/core/dotlottie-player.js:492
↓ 1 callers
Method
get_slots_str
* Get all slots as a JSON object string. * @returns {string}
packages/web/src/core/dotlottie-player.js:507
↓ 1 callers
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/core/dotlottie-player.js:799
↓ 1 callers
Method
get_transform
* Returns the current affine transform as a flat `Float32Array`. * @returns {Float32Array}
packages/web/src/core/dotlottie-player.js:523
↓ 1 callers
Function
handleFontSizeChange
(newSize: number)
apps/viewer/src/components/slot-controller.tsx:240
↓ 1 callers
Function
handleTextChange
(newText: string)
apps/viewer/src/components/slot-controller.tsx:235
↓ 1 callers
Function
hexStringToRGBAFloats
(colorHex: string)
packages/web/src/utils.ts:36
↓ 1 callers
Function
invert
(hex: string)
apps/viewer/src/components/form/base-input.tsx:9
↓ 1 callers
Function
invertColor
(hex: string)
apps/viewer/src/components/slot-controller.tsx:71
↓ 1 callers
Function
isLikeNone
(x)
packages/web/src/core/dotlottie-player.js:101
↓ 1 callers
Function
isLikeNone
(x)
packages/web/src/webgpu/dotlottie-player.js:171
↓ 1 callers
Method
is_loaded
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:1198
↓ 1 callers
Method
is_paused
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:1205
↓ 1 callers
Method
is_stopped
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:200
↓ 1 callers
Method
layout_align_x
* @returns {number}
packages/web/src/core/dotlottie-player.js:616
↓ 1 callers
Method
layout_align_y
* @returns {number}
packages/web/src/core/dotlottie-player.js:623
↓ 1 callers
Method
layout_fit
* @returns {string}
packages/web/src/core/dotlottie-player.js:207
↓ 1 callers
Function
load
()
apps/viewer/src/components/skottie.tsx:24
↓ 1 callers
Function
load
()
apps/viewer/src/pages/perf.tsx:275
↓ 1 callers
Method
loadAnimation
(animationId: string)
packages/web/src/worker/dotlottie.ts:802
↓ 1 callers
Method
load_animation_from_id
* Load an animation from an already-loaded .lottie archive by its ID. * * `setup_target` must have been called first. * @param {string}
packages/web/src/core/dotlottie-player.js:981
↓ 1 callers
Method
load_dotlottie_data
* Load a .lottie archive from raw bytes. * * `setup_target` must have been called first. * @param {Uint8Array} data * @returns {bo
packages/web/src/core/dotlottie-player.js:864
↓ 1 callers
Method
loop_animation
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:643
↓ 1 callers
Method
manifest_string
* Returns the animation manifest as a JSON string, or empty string if unavailable. * @returns {string}
packages/web/src/core/dotlottie-player.js:701
↓ 1 callers
Method
markers
()
packages/web/src/worker/dotlottie.ts:912
↓ 1 callers
Method
mode
* Gets the current playback mode. * Determines playback direction: 'forward', 'reverse', 'bounce' (forward then reverse), or 'reverse-bounce'.
packages/web/src/dotlottie.ts:692
↓ 1 callers
Function
move
()
examples/wc/src/main.ts:65
↓ 1 callers
Function
notOkResponse
(status = 404, statusText = 'Not Found')
packages/web/tests/wasm-loader.test.ts:12
↓ 1 callers
Function
passArrayF32ToWasm0
(arg, malloc)
packages/web/src/core/dotlottie-player.js:114
↓ 1 callers
Function
passArrayF32ToWasm0
(arg, malloc)
packages/web/src/webgl/dotlottie-player.js:203
↓ 1 callers
Function
passArrayF32ToWasm0
(arg, malloc)
packages/web/src/webgpu/dotlottie-player.js:184
↓ 1 callers
Function
passArrayJsValueToWasm0
(array, malloc)
packages/web/src/core/dotlottie-player.js:128
↓ 1 callers
Function
passArrayJsValueToWasm0
(array, malloc)
packages/web/src/webgl/dotlottie-player.js:217
↓ 1 callers
Function
passArrayJsValueToWasm0
(array, malloc)
packages/web/src/webgpu/dotlottie-player.js:198
↓ 1 callers
Method
pause
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:1075
↓ 1 callers
Method
pause
* Pauses animation playback in the worker thread. * Awaits worker response before resolving. Updates isPaused state to true. * @returns Promise
packages/web/src/worker/dotlottie.ts:576
↓ 1 callers
Method
pause
* @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:1161
↓ 1 callers
Method
pause
* @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:1195
↓ 1 callers
Method
play
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:1051
↓ 1 callers
Method
play
* Starts or resumes animation playback in the worker thread. * Updates the internal playback state (e.g., isPlaying) to reflect that playback has s
packages/web/src/worker/dotlottie.ts:550
↓ 1 callers
Method
play
* @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:1137
↓ 1 callers
Method
play
* @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:1171
↓ 1 callers
Function
pluginInlineWorker
(pkg: { name: string; version: string })
packages/web/rolldown-plugins/plugin-inline-worker.ts:14
↓ 1 callers
Method
poll_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/core/dotlottie-player.js:232
↓ 1 callers
Method
registerEventHandler
(instanceId: string, handler: WorkerMessageHandler)
packages/web/src/worker/worker-manager.ts:58
↓ 1 callers
Method
registerFont
* @experimental * Register a custom font for use in animations * @param fontName - The name of the font to register * @param fontSource - Eit
packages/web/src/dotlottie.ts:1939
↓ 1 callers
Method
registerFont
* @experimental * * Register a custom font for use in animations in worker contexts * @param fontName - The name of the font to register *
packages/web/src/worker/dotlottie.ts:1005
↓ 1 callers
Method
registerRpcReplyHandler
(requestId: string, handler: WorkerMessageHandler)
packages/web/src/worker/worker-manager.ts:66
↓ 1 callers
Function
register_font
(name, data)
packages/web/src/core/dotlottie-player.js:143
↓ 1 callers
Method
render
* Render the current frame without advancing time. * @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:1224
↓ 1 callers
Method
resetSegment
()
packages/web/src/worker/dotlottie.ts:629
↓ 1 callers
Method
resetSlot
(slotId: string)
packages/web/src/worker/dotlottie.ts:878
↓ 1 callers
Method
resetSlots
()
packages/web/src/worker/dotlottie.ts:890
↓ 1 callers
Method
reset_slot
* Reset a slot to its default value from the animation. * @param {string} id * @returns {boolean}
packages/web/src/core/dotlottie-player.js:241
↓ 1 callers
Method
reset_slots
* Reset all slots to their default values from the animation. * @returns {boolean}
packages/web/src/core/dotlottie-player.js:296
↓ 1 callers
Method
reset_theme
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:303
↓ 1 callers
Method
resize
* Recalculates and updates canvas dimensions in the worker thread. * Awaits worker response before resolving. Call when canvas container size chang
packages/web/src/worker/dotlottie.ts:745
↓ 1 callers
Method
segment_end
* @returns {number}
packages/web/src/core/dotlottie-player.js:310
↓ 1 callers
Method
segment_start
* @returns {number}
packages/web/src/core/dotlottie-player.js:530
↓ 1 callers
Method
setBackgroundColor
(backgroundColor: string)
packages/web/src/worker/dotlottie.ts:795
↓ 1 callers
Function
setCanvasKit
(ck: CanvasKit)
apps/viewer/src/components/skottie.tsx:6
↓ 1 callers
Method
setColorSlot
* Set a color slot value * @param slotId - The slot ID to set * @param value - Static color [r, g, b, a] or array of keyframes * @returns tru
packages/web/src/dotlottie.ts:1716
↓ 1 callers
Method
setColorSlot
(slotId: string, value: ColorSlotValue)
packages/web/src/worker/dotlottie.ts:848
↓ 1 callers
Method
setFrame
(frame: number)
packages/web/src/worker/dotlottie.ts:615
↓ 1 callers
Method
setGradientSlot
* Set a gradient slot value * @param slotId - The slot ID to set * @param value - Static gradient or array of keyframes * @param colorStopCou
packages/web/src/dotlottie.ts:1778
↓ 1 callers
Method
setGradientSlot
(slotId: string, value: GradientSlotValue, colorStopCount: number)
packages/web/src/worker/dotlottie.ts:866
↓ 1 callers
Method
setLayout
(layout: Layout)
packages/web/src/worker/dotlottie.ts:809
↓ 1 callers
Method
setLoop
(loop: boolean)
packages/web/src/worker/dotlottie.ts:719
↓ 1 callers
Method
setLoopCount
* Sets the number of additional times to replay the animation after the first play in the worker thread. * Requires loop to be true. A value of 0 m
packages/web/src/worker/dotlottie.ts:733
↓ 1 callers
Method
setMarker
(marker: string)
packages/web/src/worker/dotlottie.ts:916
← previous
next →
201–300 of 921, ranked by callers