Skip to content

Vizel API / core/src / createVizelDragHandleExtension

Function: createVizelDragHandleExtension() ​

ts
function createVizelDragHandleExtension(options?): Extension;

Defined in: packages/core/src/extensions/drag-handle.ts:41

Creates a DragHandle extension with default styling. The drag handle appears on the left side of blocks when hovering. Clicking (not dragging) the handle opens the block menu.

Parameters ​

ParameterType
optionsVizelDragHandleOptions

Returns ​

Extension

Released under the MIT License.