API Reference > ui-ninezone > Toolbar > WithDragInteractionProps WithDragInteractionProps Interface Beta Properties of withDragInteraction HOC. Properties Name Type Description direction Direction Drag direction to open the panel. onClick undefined | () => void Function called when the item is clicked. onOpenPanel undefined | () => void Function called when item is dragged or long pressed to open panel. Defined in ui/ninezone/src/ui-ninezone/toolbar/item/expandable/WithDragInteraction.tsx Line 16 Last Updated: 13 June, 2024