Skip to content
pixi-silk
GitHub repository
Interface

SelectionOptions

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

Options of Selection.

Type Parameters#

Type Parameter
T

Properties#

PropertyTypeDescriptionDefined in
filter?(item: T) => booleanWhich items may be selected at all, such as unlocked layers. Default all.selection.ts:30
items?readonly T[]Items selected at the start.selection.ts:26
multiple?booleanAllow more than one item. Default true. With false, every add replaces.selection.ts:28