Jansar Mahmood
Jansar Mahmood
@daybrush thanks for the example, this cleared few things for me 👍🏼
@tvanrijn if u add custom button and then give it a class/id. then u can set this property on your moveable object: `dragTarget = document.querySelector('.custom-button');`
@trananhanc99 it should be similar to this example: ``` const customAble = { name: "custom", props: {}, events: {}, render(moveable, React) { const rect = moveable.getRect(); return React.createElement( "button", {...
@trananhanc99 thanks for the example, from my understanding this should work..... although it been while when i did this, also I used vanilla JS.
> > If you've installed the package from npm, you should import PageFlip from page-flip package, or just use tag: > > `` > > But having downloaded the package...