Closed bakztfuture closed 5 years ago
I'm trying to make my animation 100% width of the page, however, I get the following error
invalid expression: Unexpected token } in 100% Raw expression: :width="100%"
Initializing like so:
<lottie :options="defaultOptions" :width="100%" v-on:animCreated="handleAnimation"/>
Any idas how I can do this with vue? thanks
Never mind - simple vuejs adjustment to:
<lottie :options="defaultOptions" :width="'100%'" v-on:animCreated="handleAnimation"/>
sorry guys!
I'm trying to make my animation 100% width of the page, however, I get the following error
Initializing like so:
Any idas how I can do this with vue? thanks