I’m trying to make Qchip draggable:
<q-chip draggable="true" @dragstart="writeConsole()">text</q-chip>
On drag start nothing happens, writeConsole method is not triggered. To make it work I had to add div wrapper and assign event listener to it instead of q-chip.
Is it normal behavior for q-chip? Can it be draggable?
metalsadman last edited by
@VadimNad where did you find a draggable prop and event? I dont seem to find that in the docs.
Ok, it seems it’s enough to add .native directive to event listener.
<q-chip draggable="true" @dragstart.native="writeConsole()">text</q-chip>