##// END OF EJS Templates
* tsx/{Xxx}Context renamed to tsx/{Xxx}Rendition, for old types made...
* tsx/{Xxx}Context renamed to tsx/{Xxx}Rendition, for old types made compatibility stubs with @deprected comments * Improved handling of functional component output, added support for boolean, null, undefined and widgets. * RenditionBase: fixed startup for the DocumentFragment nodes * startupWidgets: fixed startup of the widget when passed domNode of the widget. * DjxFragment converted to the functional component

File last commit:

r63:1a0018655d1c v1.1.0 default
r63:1a0018655d1c v1.1.0 default
Show More
DjxFragment.ts
6 lines | 343 B | video/mp2t | TypeScriptLexer
/ src / main / ts / tsx / DjxFragment.ts
cin
DjxFragment converted to functionl component...
r59 /** Special functional component used to create a document fragment */
cin
* tsx/{Xxx}Context renamed to tsx/{Xxx}Rendition, for old types made...
r63 export function DjxFragment({children}: {children?: Node | Node[]}){
cin
DjxFragment converted to functionl component...
r59 const fragment = document.createDocumentFragment();
if (children)
cin
* tsx/{Xxx}Context renamed to tsx/{Xxx}Rendition, for old types made...
r63 (children instanceof Array ? children : [children]).forEach(child => fragment.appendChild(child));
return fragment;
cin
Added DjxFragment...
r19 }