| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- import '../../../utils/index.mjs';
- import '../../../hooks/index.mjs';
- import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
- import { useAriaProps } from '../../../hooks/use-aria/index.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: Boolean,
- tag: {
- type: String,
- default: "div"
- },
- always: Boolean,
- minSize: {
- type: Number,
- default: 20
- },
- id: String,
- role: String,
- ...useAriaProps(["ariaLabel", "ariaOrientation"])
- });
- const scrollbarEmits = {
- scroll: ({
- scrollTop,
- scrollLeft
- }) => [scrollTop, scrollLeft].every(isNumber)
- };
- export { scrollbarEmits, scrollbarProps };
- //# sourceMappingURL=scrollbar.mjs.map
|