@base-ui-components/react
Version:
Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.
39 lines • 1.11 kB
TypeScript
export declare enum ScrollAreaScrollbarDataAttributes {
/**
* Indicates the orientation of the scrollbar.
* @type {'horizontal' | 'vertical'}
*/
orientation = "data-orientation",
/**
* Present when the pointer is over the scroll area.
*/
hovering = "data-hovering",
/**
* Present when the users scrolls inside the scroll area.
*/
scrolling = "data-scrolling",
/**
* Present when the scroll area content is wider than the viewport.
*/
hasOverflowX = "data-has-overflow-x",
/**
* Present when the scroll area content is taller than the viewport.
*/
hasOverflowY = "data-has-overflow-y",
/**
* Present when there is overflow on the horizontal start side.
*/
overflowXStart = "data-overflow-x-start",
/**
* Present when there is overflow on the horizontal end side.
*/
overflowXEnd = "data-overflow-x-end",
/**
* Present when there is overflow on the vertical start side.
*/
overflowYStart = "data-overflow-y-start",
/**
* Present when there is overflow on the vertical end side.
*/
overflowYEnd = "data-overflow-y-end",
}