Skip to content

Latest commit

 

History

History
133 lines (73 loc) · 2.41 KB

VListHandle.md

File metadata and controls

133 lines (73 loc) · 2.41 KB

Interface: VListHandle

Methods of VList.

Table of contents

Methods

Properties

Methods

scrollToIndex

scrollToIndex(index, opts?): void

Scroll to the item specified by index.

Parameters

Name Type Description
index number index of item
opts? ScrollToIndexOpts options

Returns

void

Defined in

src/react/VList.tsx:73


scrollTo

scrollTo(offset): void

Scroll to the given offset.

Parameters

Name Type Description
offset number offset from start

Returns

void

Defined in

src/react/VList.tsx:78


scrollBy

scrollBy(offset): void

Scroll by the given offset.

Parameters

Name Type Description
offset number offset from current position

Returns

void

Defined in

src/react/VList.tsx:83

Properties

cache

Readonly cache: CacheSnapshot

Get current CacheSnapshot.

Defined in

src/react/VList.tsx:55


scrollOffset

Readonly scrollOffset: number

Get current scrollTop or scrollLeft.

Defined in

src/react/VList.tsx:59


scrollSize

Readonly scrollSize: number

Get current scrollHeight or scrollWidth.

Defined in

src/react/VList.tsx:63


viewportSize

Readonly viewportSize: number

Get current offsetHeight or offsetWidth.

Defined in

src/react/VList.tsx:67