deep clone the given HTML node, removing teh unique id field
(el: HTMLElement)
| 641 | |
| 642 | /** deep clone the given HTML node, removing teh unique id field */ |
| 643 | public static cloneNode(el: HTMLElement): HTMLElement { |
| 644 | const node = el.cloneNode(true) as HTMLElement; |
| 645 | node.removeAttribute('id'); |
| 646 | return node; |
| 647 | } |
| 648 | |
| 649 | public static appendTo(el: HTMLElement, parent: string | HTMLElement): void { |
| 650 | let parentNode: HTMLElement; |
no outgoing calls
no test coverage detected