UNPKG

@aarsteinmedia/dotlottie-player

Version:

Web Component for playing Lottie animations in your web app.

23 lines (20 loc) 1.14 kB
import { RendererType, PreserveAspectRatio } from '@aarsteinmedia/lottie-web/utils'; export { PlayMode, PlayerEvents, RendererType } from '@aarsteinmedia/lottie-web/utils'; import * as _aarsteinmedia_lottie_web from '@aarsteinmedia/lottie-web'; import { AnimationConfiguration, Vector2 } from '@aarsteinmedia/lottie-web'; import { D as DotLottiePlayerBase } from './chunks/DotLottiePlayerBase.d-BSagzEPB.js'; export { M as MouseOut, P as PlayerState, t as tagName } from './chunks/DotLottiePlayerBase.d-BSagzEPB.js'; declare class DotLottiePlayerLight extends DotLottiePlayerBase { get renderer(): RendererType; constructor(); loadAnimation(config: AnimationConfiguration): _aarsteinmedia_lottie_web.AnimationItem; protected setOptions({ container, hasAutoplay, hasLoop, initialSegment, preserveAspectRatio, }: { container?: HTMLElement; rendererType: RendererType; initialSegment?: Vector2; hasAutoplay: boolean; hasLoop: boolean; preserveAspectRatio: PreserveAspectRatio; }): AnimationConfiguration<RendererType.SVG>; } export { DotLottiePlayerLight as default };