element-plus
Version:
A Component Library for Vue 3
56 lines (51 loc) • 1.08 kB
JavaScript
Object.defineProperty(exports, '__esModule', { value: true });
require('../../../utils/index.js');
var runtime = require('../../../utils/vue/props/runtime.js');
var core = require('@vueuse/core');
const scrollbarProps = runtime.buildProps({
height: {
type: [String, Number],
default: ""
},
maxHeight: {
type: [String, Number],
default: ""
},
native: Boolean,
wrapStyle: {
type: runtime.definePropType([String, Object, Array]),
default: ""
},
wrapClass: {
type: [String, Array],
default: ""
},
viewClass: {
type: [String, Array],
default: ""
},
viewStyle: {
type: [String, Array, Object],
default: ""
},
noresize: Boolean,
tag: {
type: String,
default: "div"
},
always: Boolean,
minSize: {
type: Number,
default: 20
}
});
const scrollbarEmits = {
scroll: ({
scrollTop,
scrollLeft
}) => [scrollTop, scrollLeft].every(core.isNumber)
};
exports.scrollbarEmits = scrollbarEmits;
exports.scrollbarProps = scrollbarProps;
//# sourceMappingURL=scrollbar.js.map
;