UNPKG

@wanghonggan/uv-ui

Version:

uv-ui 破釜沉舟之兼容vue3+2、nvue、app、h5、小程序等多端基于uni-app和uView2.x的生态框架,支持单独导入,开箱即用,利剑出击。

33 lines (32 loc) 594 B
import { getPropsByKey } from "../../libs/config/config"; export default { props: { // 是否展示组件 show: { type: Boolean, default: false }, // 使用的动画模式 mode: { type: [Array, String, null], default() { return 'fade' } }, // 动画的执行时间,单位ms duration: { type: [String, Number], default: 300 }, // 使用的动画过渡函数 timingFunction: { type: String, default: 'ease-out' }, customClass: { type: String, default: '' }, ...getPropsByKey('transition') } }