UNPKG

v-show-slide

Version:

Vue.js directive for animating element to and from height: auto in a sliding motion

14 lines (11 loc) 248 B
import Vue from 'vue' import Demo from './Demo.vue' import VShowSlide from './index' Vue.use(VShowSlide, { customEasing: { exampleEasing: 'cubic-bezier(0.68, -0.55, 0.265, 1.55)', }, }) new Vue({ render: h => h(Demo), }).$mount('#app')