UNPKG

@vuesax-alpha/nightly

Version:
58 lines (55 loc) 1.12 kB
import '../../../utils/index.mjs'; import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs'; import { isNumber } from '../../../utils/types.mjs'; const scrollbarProps = buildProps({ height: { type: [String, Number], default: "" }, maxHeight: { type: [String, Number], default: "" }, native: { type: Boolean, default: false }, wrapStyle: { type: definePropType([String, Object, Array]), default: "" }, wrapClass: { type: [String, Array], default: "" }, viewClass: { type: [String, Array], default: "" }, viewStyle: { type: [String, Array, Object], default: "" }, noresize: { type: Boolean }, tag: { type: String, default: "div" }, always: { type: Boolean, default: true }, minSize: { type: Number, default: 20 }, thickness: { type: [Number, String], default: 6 } }); const scrollbarEmits = { scroll: ({ scrollTop, scrollLeft }) => [scrollTop, scrollLeft].every(isNumber) }; export { scrollbarEmits, scrollbarProps }; //# sourceMappingURL=scrollbar.mjs.map