MCPcopy Create free account

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

Functions921 in github.com/LottieFiles/dotlottie-web

↓ 1 callersFunctiondecompressCode
(compressed: string)
apps/viewer/src/utils/url-compression.ts:15
↓ 1 callersFunctiondestroy
()
examples/wc/src/main.ts:59
↓ 1 callersMethoddestroy
* 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 callersMethodduration
* 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 callersFunctionexecuteCommand
( rpcRequest: RpcRequest<T>, )
packages/web/src/worker/dotlottie.worker.ts:1287
↓ 1 callersFunctionfitToString
(fit: string)
packages/web/src/dotlottie.ts:82
↓ 1 callersMethodfree
()
packages/web/src/core/dotlottie-player.js:176
↓ 1 callersFunctiongenerateAnimationUrls
(count: number)
apps/viewer/src/pages/list.tsx:16
↓ 1 callersFunctiongenerateSrcdoc
(code: string, theme: ResolvedTheme)
apps/viewer/src/components/playground/preview-iframe.tsx:12
↓ 1 callersFunctiongenerateSrcdoc
(code: string, theme: ResolvedTheme)
apps/viewer/src/pages/embed.tsx:21
↓ 1 callersFunctiongetArrayF32FromWasm0
(ptr, len)
packages/web/src/webgl/dotlottie-player.js:133
↓ 1 callersFunctiongetArrayI32FromWasm0
(ptr, len)
packages/web/src/webgl/dotlottie-player.js:119
↓ 1 callersFunctiongetArrayU8FromWasm0
(ptr, len)
packages/web/src/webgpu/dotlottie-player.js:101
↓ 1 callersFunctiongetEmbedHtml
(code: string, width = 400, height = 400)
apps/viewer/src/utils/url-compression.ts:44
↓ 1 callersFunctiongetEmbedUrl
(code: string)
apps/viewer/src/utils/url-compression.ts:35
↓ 1 callersFunctiongetFloat32ArrayMemory0
()
packages/web/src/core/dotlottie-player.js:107
↓ 1 callersFunctiongetFloat32ArrayMemory0
()
packages/web/src/webgpu/dotlottie-player.js:177
↓ 1 callersFunctiongetIcon
()
apps/viewer/src/pages/playground.tsx:59
↓ 1 callersFunctiongetInt32ArrayMemory0
()
packages/web/src/webgl/dotlottie-player.js:112
↓ 1 callersMethodgetSlot
(slotId: string)
packages/web/src/worker/dotlottie.ts:836
↓ 1 callersMethodgetSlotIds
* Get all slot IDs in the animation * @returns Array of slot ID strings
packages/web/src/dotlottie.ts:1650
↓ 1 callersMethodgetSlotIds
()
packages/web/src/worker/dotlottie.ts:824
↓ 1 callersMethodgetSlotType
* 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 callersMethodgetSlotType
(slotId: string)
packages/web/src/worker/dotlottie.ts:830
↓ 1 callersMethodgetSlots
()
packages/web/src/worker/dotlottie.ts:842
↓ 1 callersFunctiongetSystemTheme
()
apps/viewer/src/pages/embed.tsx:7
↓ 1 callersFunctiongetSystemTheme
()
apps/viewer/src/context/theme-context.tsx:16
↓ 1 callersFunctiongetThemeExtension
(resolvedTheme: ResolvedTheme)
apps/viewer/src/components/playground/code-editor.tsx:16
↓ 1 callersMethodgetTransform
()
packages/web/src/worker/dotlottie.ts:951
↓ 1 callersMethodget_slot_ids
* Get all slot IDs as a JS array. * @returns {any}
packages/web/src/core/dotlottie-player.js:407
↓ 1 callersMethodget_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 callersMethodget_slots_str
* Get all slots as a JSON object string. * @returns {string}
packages/web/src/core/dotlottie-player.js:507
↓ 1 callersMethodget_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 callersMethodget_transform
* Returns the current affine transform as a flat `Float32Array`. * @returns {Float32Array}
packages/web/src/core/dotlottie-player.js:523
↓ 1 callersFunctionhandleFontSizeChange
(newSize: number)
apps/viewer/src/components/slot-controller.tsx:240
↓ 1 callersFunctionhandleTextChange
(newText: string)
apps/viewer/src/components/slot-controller.tsx:235
↓ 1 callersFunctionhexStringToRGBAFloats
(colorHex: string)
packages/web/src/utils.ts:36
↓ 1 callersFunctioninvert
(hex: string)
apps/viewer/src/components/form/base-input.tsx:9
↓ 1 callersFunctioninvertColor
(hex: string)
apps/viewer/src/components/slot-controller.tsx:71
↓ 1 callersFunctionisLikeNone
(x)
packages/web/src/core/dotlottie-player.js:101
↓ 1 callersFunctionisLikeNone
(x)
packages/web/src/webgpu/dotlottie-player.js:171
↓ 1 callersMethodis_loaded
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:1198
↓ 1 callersMethodis_paused
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:1205
↓ 1 callersMethodis_stopped
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:200
↓ 1 callersMethodlayout_align_x
* @returns {number}
packages/web/src/core/dotlottie-player.js:616
↓ 1 callersMethodlayout_align_y
* @returns {number}
packages/web/src/core/dotlottie-player.js:623
↓ 1 callersMethodlayout_fit
* @returns {string}
packages/web/src/core/dotlottie-player.js:207
↓ 1 callersFunctionload
()
apps/viewer/src/components/skottie.tsx:24
↓ 1 callersFunctionload
()
apps/viewer/src/pages/perf.tsx:275
↓ 1 callersMethodloadAnimation
(animationId: string)
packages/web/src/worker/dotlottie.ts:802
↓ 1 callersMethodload_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 callersMethodload_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 callersMethodloop_animation
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:643
↓ 1 callersMethodmanifest_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 callersMethodmarkers
()
packages/web/src/worker/dotlottie.ts:912
↓ 1 callersMethodmode
* Gets the current playback mode. * Determines playback direction: 'forward', 'reverse', 'bounce' (forward then reverse), or 'reverse-bounce'.
packages/web/src/dotlottie.ts:692
↓ 1 callersFunctionmove
()
examples/wc/src/main.ts:65
↓ 1 callersFunctionnotOkResponse
(status = 404, statusText = 'Not Found')
packages/web/tests/wasm-loader.test.ts:12
↓ 1 callersFunctionpassArrayF32ToWasm0
(arg, malloc)
packages/web/src/core/dotlottie-player.js:114
↓ 1 callersFunctionpassArrayF32ToWasm0
(arg, malloc)
packages/web/src/webgl/dotlottie-player.js:203
↓ 1 callersFunctionpassArrayF32ToWasm0
(arg, malloc)
packages/web/src/webgpu/dotlottie-player.js:184
↓ 1 callersFunctionpassArrayJsValueToWasm0
(array, malloc)
packages/web/src/core/dotlottie-player.js:128
↓ 1 callersFunctionpassArrayJsValueToWasm0
(array, malloc)
packages/web/src/webgl/dotlottie-player.js:217
↓ 1 callersFunctionpassArrayJsValueToWasm0
(array, malloc)
packages/web/src/webgpu/dotlottie-player.js:198
↓ 1 callersMethodpause
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:1075
↓ 1 callersMethodpause
* 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 callersMethodpause
* @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:1161
↓ 1 callersMethodpause
* @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:1195
↓ 1 callersMethodplay
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:1051
↓ 1 callersMethodplay
* 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 callersMethodplay
* @returns {boolean}
packages/web/src/webgl/dotlottie-player.js:1137
↓ 1 callersMethodplay
* @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:1171
↓ 1 callersFunctionpluginInlineWorker
(pkg: { name: string; version: string })
packages/web/rolldown-plugins/plugin-inline-worker.ts:14
↓ 1 callersMethodpoll_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 callersMethodregisterEventHandler
(instanceId: string, handler: WorkerMessageHandler)
packages/web/src/worker/worker-manager.ts:58
↓ 1 callersMethodregisterFont
* @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 callersMethodregisterFont
* @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 callersMethodregisterRpcReplyHandler
(requestId: string, handler: WorkerMessageHandler)
packages/web/src/worker/worker-manager.ts:66
↓ 1 callersFunctionregister_font
(name, data)
packages/web/src/core/dotlottie-player.js:143
↓ 1 callersMethodrender
* Render the current frame without advancing time. * @returns {boolean}
packages/web/src/webgpu/dotlottie-player.js:1224
↓ 1 callersMethodresetSegment
()
packages/web/src/worker/dotlottie.ts:629
↓ 1 callersMethodresetSlot
(slotId: string)
packages/web/src/worker/dotlottie.ts:878
↓ 1 callersMethodresetSlots
()
packages/web/src/worker/dotlottie.ts:890
↓ 1 callersMethodreset_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 callersMethodreset_slots
* Reset all slots to their default values from the animation. * @returns {boolean}
packages/web/src/core/dotlottie-player.js:296
↓ 1 callersMethodreset_theme
* @returns {boolean}
packages/web/src/core/dotlottie-player.js:303
↓ 1 callersMethodresize
* 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 callersMethodsegment_end
* @returns {number}
packages/web/src/core/dotlottie-player.js:310
↓ 1 callersMethodsegment_start
* @returns {number}
packages/web/src/core/dotlottie-player.js:530
↓ 1 callersMethodsetBackgroundColor
(backgroundColor: string)
packages/web/src/worker/dotlottie.ts:795
↓ 1 callersFunctionsetCanvasKit
(ck: CanvasKit)
apps/viewer/src/components/skottie.tsx:6
↓ 1 callersMethodsetColorSlot
* 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 callersMethodsetColorSlot
(slotId: string, value: ColorSlotValue)
packages/web/src/worker/dotlottie.ts:848
↓ 1 callersMethodsetFrame
(frame: number)
packages/web/src/worker/dotlottie.ts:615
↓ 1 callersMethodsetGradientSlot
* 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 callersMethodsetGradientSlot
(slotId: string, value: GradientSlotValue, colorStopCount: number)
packages/web/src/worker/dotlottie.ts:866
↓ 1 callersMethodsetLayout
(layout: Layout)
packages/web/src/worker/dotlottie.ts:809
↓ 1 callersMethodsetLoop
(loop: boolean)
packages/web/src/worker/dotlottie.ts:719
↓ 1 callersMethodsetLoopCount
* 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 callersMethodsetMarker
(marker: string)
packages/web/src/worker/dotlottie.ts:916
← previousnext →201–300 of 921, ranked by callers