You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the 'New Features' section of the demo, the tabstorage features the ability to drop onto custom elements, which in the case of the demo, was text. From what I could gather reading the docs and the demo code, we are supposed to use onTabDrag and maybe compare rectangle bounding boxes to do this, however the demo code does not really make it clear (at least to my understanding) due to the lack of comments/explanation
Can anyone who has implemented a similar feature but in a more clear way share how they did it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In the 'New Features' section of the demo, the tabstorage features the ability to drop onto custom elements, which in the case of the demo, was text. From what I could gather reading the docs and the demo code, we are supposed to use
onTabDrag
and maybe compare rectangle bounding boxes to do this, however the demo code does not really make it clear (at least to my understanding) due to the lack of comments/explanationCan anyone who has implemented a similar feature but in a more clear way share how they did it?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions