UNPKG

@aarsteinmedia/dotlottie-player

Version:

Web Component for playing Lottie animations in your web app.

24 lines (21 loc) 1.24 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 { addAnimation, convert } from '@aarsteinmedia/lottie-web/dotlottie'; 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 DotLottiePlayer extends DotLottiePlayerBase { addAnimation: typeof addAnimation; convert: typeof convert; loadAnimation(config: AnimationConfiguration): _aarsteinmedia_lottie_web.AnimationItem; protected setOptions({ container, hasAutoplay, hasLoop, initialSegment, preserveAspectRatio, rendererType }: { container?: undefined | HTMLElement; rendererType: RendererType; initialSegment?: undefined | Vector2; hasAutoplay: boolean; hasLoop: boolean; preserveAspectRatio: PreserveAspectRatio; }): AnimationConfiguration; } export { DotLottiePlayer as default };