Scrollbar-10f58cff-1734950731618.js 585 B

1
  1. import{ao as l,d as e,r as a,ad as n,dx as t}from"./index-efb66432-1734950731618.js";const c=Object.assign(Object.assign({},l.props),{trigger:String,xScrollable:Boolean,onScroll:Function,size:Number}),i=e({name:"Scrollbar",props:c,setup(){const r=a(null);return Object.assign(Object.assign({},{scrollTo:(...s)=>{var o;(o=r.value)===null||o===void 0||o.scrollTo(s[0],s[1])},scrollBy:(...s)=>{var o;(o=r.value)===null||o===void 0||o.scrollBy(s[0],s[1])}}),{scrollbarInstRef:r})},render(){return n(t,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),p=i;export{p as N};