1.0.7 • Published 5 years ago

animate-group v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

animate-group

Use animate.css transitions to animate entry and leave on list of items based on an array with smooth move of surrounding elements.

Install

npm install animate-group --save

Import

const AnimateGroup = require('animate-group').default;

Local registration

  module.exports = {
    components: {
      AnimateGroup
    } ...

Global registration

Vue.component('AnimateGroup', AnimateGroup);

API

Props

PropTypeDescriptionRequiredDefault
animationInStringAnimation entry nameY
animationOutStringAnimation leave nameY
animationDurationNumberAnimation duration in secondsAnimate.css default
smoothMoveBooleanSpecifies whether surrounding elements will occupy placement of inserted/removed element in smoothly waytrue
instantMoveBooleanInstant move of surrounding elements on leave transition - removed element will be detached from normal document flow. Surrounding elements will be moved immediately - rather when animation ends. Applied only for out transitiontrue

Slots

NameDescription
(default)List of items based on array in form of v-for directive
1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago