##// END OF EJS Templates
Merge
Merge

File last commit:

r59:bcdd096122ff default
r62:141ef477a5ff merge default
Show More
DjxFragment.ts
5 lines | 271 B | video/mp2t | TypeScriptLexer
/** Special functional component used to create a document fragment */
export function DjxFragment({children}: {children: Node[]}){
const fragment = document.createDocumentFragment();
if (children)
children.forEach(child => fragment.appendChild(child));
}