Skip to content
pixi-silk
GitHub repository
Interface

SelectionGroupOptions

import type { SelectionGroupOptions } from 'pixi-silk/ui/group';

Options of SelectionGroup.

Properties#

PropertyTypeDescriptionDefined in
onApply?(targets: readonly Container<ContainerChild>[]) => voidCalled after SelectionGroup.apply wrote the new transforms, once per drag move.ui/group.ts:26
targets?readonly Container<ContainerChild>[]Objects to start with. The box fits them once the group has a parent and you call refit().ui/group.ts:24