OptionaldisplayOptionaledgeWhether to scale and resize through edge lines. You can use "n", "w", "s", "e" in LineDirection array.
OptionalrenderSet directions to show the control box.
import Moveable from "@moveable-next/vanilla";
const moveable = new Moveable(document.body, {
warpable: true,
renderDirections: ["n", "nw", "ne", "s", "se", "sw", "e", "w"],
});
moveable.renderDirections = ["nw", "ne", "sw", "se"];
OptionalresolveSets the control that will cause resize along with rotate. (Only Single Target, Only resizable, Beta)
OptionalrotatableWhether or not target can be rotated.
OptionalrotateYou can rotate around direction controls.
Either rotateAroundControls or displayAroundControls can be used.
OptionalrotationYou can specify the position of the rotation.
OptionalrotationSet additional rotationTargets.
Optionalthrottlethrottle of angle(degree) when rotate.
You can expand the area around the control. Either
rotateAroundControlsordisplayAroundControlscan be used. You can set the area through thecontrolPaddingvalue.