primevue
Version:
PrimeVue is a premium UI library for Vue featuring a rich set of 90+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBlock, wh
28 lines (25 loc) • 811 B
JavaScript
import BaseStyle from '@primevue/core/base/style';
var classes = {
root: 'p-scrollarea-scrollbar'
};
var inlineStyles = {
root: function root(_ref) {
var props = _ref.props;
return {
position: 'absolute',
touchAction: 'none',
userSelect: 'none',
WebkitUserSelect: 'none',
top: props.orientation === 'vertical' ? 0 : undefined,
bottom: props.orientation === 'horizontal' ? 0 : 'var(--px-corner-height)',
insetInlineEnd: props.orientation === 'vertical' ? 0 : 'var(--px-corner-width)',
insetInlineStart: props.orientation === 'horizontal' ? 0 : undefined
};
}
};
var ScrollAreaScrollbarStyle = BaseStyle.extend({
name: 'scrollareascrollbar',
classes: classes,
inlineStyles: inlineStyles
});
export { ScrollAreaScrollbarStyle as default };