Skip to content
pixi-silk
GitHub repository
Interface

ScrollViewState

import type { ScrollViewState } from 'pixi-silk/ui/panel';

The reactive state of a ScrollView.

Properties#

PropertyTypeDescriptionDefined in
draggingReadSignal<boolean>True while a finger or the scrollbar drags the content.ui/panels/ScrollView.ts:41
scrollYReadSignal<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