Hi
Is this how this library supposed to work ?
i have a to do list when you right click on one of the to do's and click delete on custom context menu this code will run witch will apply the needed data- attribute for this library and then initiates disintegrate.init()
but for my case nothing happens.
const Element = document.getElementById(ID); Element.setAttribute("data-dis-type", "self-container"); disintegrate.init();
i included both dependencies at end of my html file like this
` <script type="text/javascript" src="Libraries/html2canvas.js" defer></script>
<script type="text/javascript" src="Libraries/Disintegrate-master/disintegrate.js" defer></script>
`
Hi
<script type="text/javascript" src="Libraries/Disintegrate-master/disintegrate.js" defer></script>Is this how this library supposed to work ?
i have a to do list when you right click on one of the to do's and click delete on custom context menu this code will run witch will apply the needed data- attribute for this library and then initiates disintegrate.init()
but for my case nothing happens.
const Element = document.getElementById(ID); Element.setAttribute("data-dis-type", "self-container"); disintegrate.init();i included both dependencies at end of my html file like this
` <script type="text/javascript" src="Libraries/html2canvas.js" defer></script>
`