Properties

PropertyAttributeDescriptionTypeDefault
autoplayautoplayAutoplay animation on load.booleanfalse
backgroundbackgroundBackground color.stringundefined
controlscontrolsShow controls.booleanfalse
countcountNumber of times to loop animation.numberundefined
directiondirectionDirection of animation.number1
hoverhoverWhether to play on mouse hover.booleanfalse
looploopWhether to loop animation.booleanfalse
modemodePlay mode.PlayMode.Bounce \| PlayMode.NormalPlayMode.Normal
rendererrendererRenderer to use."svg"'svg'
speedspeedAnimation speed.number1
src (required)srcBodymovin JSON data or URL to JSON.stringundefined