SelectionState
import type { SelectionState } from 'pixi-silk/selection';
The signals of a Selection.
Type Parameters#
| Type Parameter |
|---|
T |
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
hovered | Signal<T | null> | The item under the pointer. Set it from your pointer handlers. | selection.ts:40 |
items | ReadSignal<readonly T[]> | Selected items, in the order they were picked. | selection.ts:36 |
primary | ReadSignal<T | null> | The item the gizmo and the inspector work on: the last one picked, or the one passed to focus(). | selection.ts:38 |