1 |
- import{ao as e,d as l,r as t,ad as n,dB as a}from"./index-b48b51d2-1720699367816.js";const c=Object.assign(Object.assign({},e.props),{trigger:String,xScrollable:Boolean,onScroll:Function,contentClass:String,contentStyle:[Object,String],size:Number}),i=l({name:"Scrollbar",props:c,setup(){const r=t(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(a,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),p=i;export{p as N};
|