@dxos/react-ui
Preparing search index...
hooks/Hooks
useScroller
Function useScroller
useScroller
<
T
extends
HTMLElement
>
(
ref
:
null
|
Window
|
T
|
MutableRefObject
<
null
|
T
>
,
options
?:
UseScrollerOptions
,
)
:
{
isScrolling
:
boolean
;
scrollTop
:
number
}
Type Parameters
T
extends
HTMLElement
Parameters
ref
:
null
|
Window
|
T
|
MutableRefObject
<
null
|
T
>
Optional
options
:
UseScrollerOptions
Returns
{
isScrolling
:
boolean
;
scrollTop
:
number
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@dxos/react-ui
Loading...