|
|
||
|---|---|---|
| .. | ||
| demo | ||
| test | ||
| README.en-US.md | ||
| README.md | ||
| component.js | ||
| index.vue | ||
README.en-US.md
| title | preview |
|---|---|
| Transition | https://didi.github.io/mand-mobile/examples/#/transition |
复用动画切换组件
引入
import { Transition } from 'mand-mobile'
Vue.component(Transition.name, Transition)
代码演示
API
md-transition is a wrapper of vue transtion, support all transition props.
built-in transition name:
md-fademd-fade-upmd-fade-downmd-fade-leftmd-fade-rightmd-slide-upmd-slide-downmd-slide-leftmd-slide-rightmd-bouncemd-punchmd-zoom