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