LaneInspectorProps beta
Interface of @v12-engine/client
ts
export interface LaneInspectorProps<Item extends LaneItem = LaneItem>What a lane's own part of the Inspector is given (LaneEditor.inspector): the items selected, and a way to set a field (a LaneField.key) of every one of them, one step of the history
Members
items
ts
items: readonly Item[];The items selected in the editor
set
ts
set(key: string, value: unknown): void;Sets the field key to value on every selected item, as one step of the history