(html: any)
| 139 | } |
| 140 | |
| 141 | export function createTemplate(html: any): HTMLElement { |
| 142 | const t = getDOM().getDefaultDocument().createElement('template'); |
| 143 | t.innerHTML = html; |
| 144 | return t; |
| 145 | } |
| 146 | |
| 147 | export function childNodesAsList(el: Node): any[] { |
| 148 | const childNodes = el.childNodes; |
no test coverage detected