Skip to content
pixi-silk
GitHub repository
Interface

SelectionChange

import type { SelectionChange } from 'pixi-silk/selection';

What one change did, as Selection.onChange reports it.

Type Parameters#

Type Parameter
T

Properties#

PropertyTypeDescriptionDefined in
addedreadonly T[]Items that joined.selection.ts:16
itemsreadonly T[]The selection after the change, in order.selection.ts:14
primaryT | nullThe primary item after the change.selection.ts:20
removedreadonly T[]Items that left.selection.ts:18