1.0.12 • Published 3 years ago

@tamnt-work/lottie-vue v1.0.12

Weekly downloads
3
License
-
Repository
-
Last release
3 years ago

Lottie VueJS

Render Lottie for VueJS

Installation

Use the package manager NodeJS to install lottie-vue.

yarn add @tamnt-work/lottie-vue

Usage

Use global

import Vue from "vue";
import LottieVue from "@tamnt-work/lottie-vue";

Vue.use(LottieVue);

OR

Use local

import LottieVue from "@tamnt-work/lottie-vue";

export default {
  components: {
    LottieVue,
  },
};

Use on vue

<lottie-vue path="/path/to/lottie.json" />

Props

path

Path to file json lottie

renderer

Config tag for render

  • svg
  • canvas
  • html

loop

Allow loop animation

  • Boolean

autoplay

Allow auto play animation

  • Boolean

Contributing

contact@tamnt.work

License

MIT

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago