Skip to content

Latest commit

 

History

History
119 lines (65 loc) · 2.08 KB

VListHandle.md

File metadata and controls

119 lines (65 loc) · 2.08 KB

Interface: VListHandle

Methods of VList.

Table of contents

Methods

Properties

Methods

scrollToIndex

scrollToIndex(index): void

Scroll to the item specified by index.

Parameters

Name Type Description
index number index of item

Returns

void

Defined in

src/react/VList.tsx:179


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:184


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:189

Properties

scrollOffset

Readonly scrollOffset: number

Get current scrollTop or scrollLeft.

Defined in

src/react/VList.tsx:166


scrollSize

Readonly scrollSize: number

Get current scrollHeight or scrollWidth.

Defined in

src/react/VList.tsx:170


viewportSize

Readonly viewportSize: number

Get current offsetHeight or offsetWidth.

Defined in

src/react/VList.tsx:174