1.0.12 • Published 1 year ago

@tamnt-work/lottie-vue v1.0.12

Weekly downloads
3
License
-
Repository
-
Last release
1 year 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

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.2

1 year ago

1.0.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago