Skip to content

pencil.js / draggable / DraggableOptions

Interface: DraggableOptions ​

Defined in: draggable.ts:10

Draggable options

Extended by ​

Properties ​

PropertyTypeDescriptionDefined in
constrain?| VectorDefinition | nullRelative limit of freedom (in the parent space)draggable.ts:16
x?booleanCan move along horizontal axisdraggable.ts:12
y?booleanCan move along vertical axisdraggable.ts:14

Released under the MIT License.