@interactjs / auto-scroll/plugin
Module: auto-scroll/plugin
Table of contents
Interfaces
Functions
Functions
getContainer
â–¸ getContainer(value
, interactable
, element
): any
Parameters
Name | Type |
---|---|
value | any |
interactable | Interactable |
element | Element |
Returns
any
Defined in
getScroll
â–¸ getScroll(container
): Object
Parameters
Name | Type |
---|---|
container | any |
Returns
Object
Name | Type |
---|---|
x | any |
y | any |
Defined in
getScrollSize
â–¸ getScrollSize(container
): Object
Parameters
Name | Type |
---|---|
container | any |
Returns
Object
Name | Type |
---|---|
x | any |
y | any |
Defined in
getScrollSizeDelta
â–¸ getScrollSizeDelta<T
>(«destructured»
, func
): Object
Type parameters
Name | Type |
---|---|
T | extends keyof ActionMap |
Parameters
Name | Type |
---|---|
«destructured» | Object |
› element | Element |
› interaction | Partial <Interaction <T >> |
func | any |
Returns
Object
Name | Type |
---|---|
x | number |
y | number |