1234567891011121314151617181920212223242526 |
- <template>
- <view
- v-if="inited"
- :class="'van-transition custom-class ' + classes"
- :style="'-webkit-transition-duration:' + currentDuration + 'ms; transition-duration:' + currentDuration + 'ms; ' + (display ? '' : 'display: none;') + ' ' + customStyle"
- @transitionend="onTransitionEnd"
- >
- <slot />
- </view>
- </template>
- <script>
- 'use strict';
- Object.defineProperty(exports, '__esModule', {
- value: true
- });
- var component_1 = require('../common/component');
- var transition_1 = require('../mixins/transition');
- component_1.VantComponent({
- classes: ['enter-class', 'enter-active-class', 'enter-to-class', 'leave-class', 'leave-active-class', 'leave-to-class'],
- mixins: [transition_1.transition(true)]
- });
- </script>
- <style>
- @import './index.css';
- </style>
|