Skip to content

Having trouble getting library working #8

Description

@InfinitDarknes

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>

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions