CoCreate-clone

Clone an html element by #id, identify targeted elements using clone_id="" attribute. Capable of creating nested & complex cloning logic for kanbans, tasklists etc. Easy configuration using HTML5 attributes and/or JavaScript API.

Install

npm i @cocreate/clone

Or you can use cdn link:

<script>https://cdn.cocreate.app/clone/latest/CoCreate-clone.min.js</script>

Usage

This is clone usage

<div></div>

This is clone usage

This is clone usage

Attributes

  • clone string optional

    clone-attribute

  • clone string optional

    clone-attribute

Demo