,, , ,, , , , image/svg+xml , image/svg+xml , interact.js , image/svg+xml , ,, , ,

@interactjs / auto-scroll/plugin

Module: auto-scroll/plugin

Table of contents

Interfaces

Functions

Functions

getContainer

â–¸ getContainer(value, interactable, element): any

Parameters

NameType
valueany
interactableInteractable
elementElement

Returns

any

Defined in

auto-scroll/plugin.ts:207


getScroll

â–¸ getScroll(container): Object

Parameters

NameType
containerany

Returns

Object

NameType
xany
yany

Defined in

auto-scroll/plugin.ts:213


getScrollSize

â–¸ getScrollSize(container): Object

Parameters

NameType
containerany

Returns

Object

NameType
xany
yany

Defined in

auto-scroll/plugin.ts:221


getScrollSizeDelta

▸ getScrollSizeDelta<T>(«destructured», func): Object

Type parameters

NameType
Textends keyof ActionMap

Parameters

NameType
«destructured»Object
› elementElement
› interactionPartial<Interaction<T>>
funcany

Returns

Object

NameType
xnumber
ynumber

Defined in

auto-scroll/plugin.ts:229