Draggable function is not getting called #5281
Unanswered
solulabahmad
asked this question in
Q&A
Replies: 1 comment
-
I don't see any issue with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey @artf and rest of gjs team, I am creating one component and passing function as draggable value but that function is not getting called while component is being dragged. Attaching my code snippet for the reference
editor.DomComponents.addType('normalVideo', {
model: {
defaults: {
tagName: 'div',
draggable: () => {
console.log('Test')
return true
}
}
}
}
)
Beta Was this translation helpful? Give feedback.
All reactions