FieldEdit
import type { FieldEdit } from 'pixi-silk/ui/inspector';
The callbacks of a field’s edit gesture: one begin, any number of input, one end.
Extended by#
Type Parameters#
| Type Parameter |
|---|
V |
Methods#
begin()#
begin(): void;
A gesture starts. Capture the values to undo to.
Returns#
void
end()#
end(): void;
The gesture ends. Record one undo step.
Returns#
void
input()#
input(values: readonly V[]): void;
New values, one per edited object, while the gesture runs. Write them through.
Parameters#
| Parameter | Type |
|---|---|
values | readonly V[] |
Returns#
void