ScrollViewState
import type { ScrollViewState } from 'pixi-silk/ui/panel';
The reactive state of a ScrollView.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
dragging | ReadSignal<boolean> | True while a finger or the scrollbar drags the content. | ui/panels/ScrollView.ts:41 |
scrollY | ReadSignal<number> | How far the content is scrolled, in view units, as drawn (it can pass the ends while it stretches). | ui/panels/ScrollView.ts:39 |