(nodeOrDoc)
| 14 | * @return {function(readonly string[]):HTMLElement} |
| 15 | */ |
| 16 | export function htmlFor(nodeOrDoc) { |
| 17 | const doc = nodeOrDoc.ownerDocument || /** @type {Document} */ (nodeOrDoc); |
| 18 | if (!htmlContainer || htmlContainer.ownerDocument !== doc) { |
| 19 | htmlContainer = doc.createElement('div'); |
| 20 | } |
| 21 | |
| 22 | return html; |
| 23 | } |
| 24 | |
| 25 | /** |
| 26 | * Creates the svg helper for the doc. |
no outgoing calls
no test coverage detected