Overview
The WeaveStageKeyboardMovePlugin class that enables the movement of nodes by a delta (by default 5) when pressing shift + keyboard arrow keys.
The class extends the WeavePlugin class
TypeScript types
type WeaveMoveOrientation = "up" | "down" | "left" | "right";
type WeaveStageKeyboardMovePluginConfig = {
movementDelta: number;
};
type WeaveStageKeyboardMovePluginParams = {
config?: WeaveStageKeyboardMovePluginConfig;
};
Parameters
For WeaveStageKeyboardMovePluginParams:
| Property | Type | Required | Description |
|---|---|---|---|
|
|
Config parameters for the plugin. |
For WeaveStageKeyboardMovePluginConfig:
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
|
|
|
Delta to move the selected nodes. |