@types/react-custom-scrollbars
- Version 4.0.13
- Published
- 6.69 kB
- 1 dependency
- MIT license
Install
npm i @types/react-custom-scrollbars
yarn add @types/react-custom-scrollbars
pnpm add @types/react-custom-scrollbars
Overview
TypeScript definitions for react-custom-scrollbars
Index
Classes
Interfaces
Classes
class Scrollbars
class Scrollbars extends React.Component<ScrollbarProps> {}
method getClientHeight
getClientHeight: () => number;
method getClientWidth
getClientWidth: () => number;
method getScrollHeight
getScrollHeight: () => number;
method getScrollLeft
getScrollLeft: () => number;
method getScrollTop
getScrollTop: () => number;
method getScrollWidth
getScrollWidth: () => number;
method getValues
getValues: () => positionValues;
method scrollLeft
scrollLeft: (left: number) => void;
method scrollToBottom
scrollToBottom: () => void;
method scrollToLeft
scrollToLeft: () => void;
method scrollTop
scrollTop: (top: number) => void;
method scrollToRight
scrollToRight: () => void;
method scrollToTop
scrollToTop: () => void;
Interfaces
interface positionValues
interface positionValues {}
property clientHeight
clientHeight: number;
property clientWidth
clientWidth: number;
property left
left: number;
property scrollHeight
scrollHeight: number;
property scrollLeft
scrollLeft: number;
property scrollTop
scrollTop: number;
property scrollWidth
scrollWidth: number;
property top
top: number;
interface ScrollbarProps
interface ScrollbarProps extends React.HTMLProps<Scrollbars> {}
property autoHeight
autoHeight?: boolean | undefined;
property autoHeightMax
autoHeightMax?: number | string | undefined;
property autoHeightMin
autoHeightMin?: number | string | undefined;
property autoHide
autoHide?: boolean | undefined;
property autoHideDuration
autoHideDuration?: number | undefined;
property autoHideTimeout
autoHideTimeout?: number | undefined;
property hideTracksWhenNotNeeded
hideTracksWhenNotNeeded?: boolean | undefined;
property onScroll
onScroll?: React.UIEventHandler<any> | undefined;
property onScrollFrame
onScrollFrame?: ((values: positionValues) => void) | undefined;
property onScrollStart
onScrollStart?: (() => void) | undefined;
property onScrollStop
onScrollStop?: (() => void) | undefined;
property onUpdate
onUpdate?: ((values: positionValues) => void) | undefined;
property renderThumbHorizontal
renderThumbHorizontal?: React.FunctionComponent<any> | undefined;
property renderThumbVertical
renderThumbVertical?: React.FunctionComponent<any> | undefined;
property renderTrackHorizontal
renderTrackHorizontal?: React.FunctionComponent<any> | undefined;
property renderTrackVertical
renderTrackVertical?: React.FunctionComponent<any> | undefined;
property renderView
renderView?: React.FunctionComponent<any> | undefined;
property style
style?: React.CSSProperties | undefined;
property tagName
tagName?: string | undefined;
property thumbMinSize
thumbMinSize?: number | undefined;
property thumbSize
thumbSize?: number | undefined;
property universal
universal?: boolean | undefined;
Package Files (1)
Dependencies (1)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/react-custom-scrollbars
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/react-custom-scrollbars)
- HTML<a href="https://www.jsdocs.io/package/@types/react-custom-scrollbars"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2197 ms. - Missing or incorrect documentation? Open an issue for this package.