##// END OF EJS Templates
Added support for ContentPane, corrected widget startup calls
Added support for ContentPane, corrected widget startup calls

File last commit:

r40:ac3004768754 default
r48:030ea350f98b v1.0.3 default
Show More
DjxFragment.ts
17 lines | 475 B | video/mp2t | TypeScriptLexer
/ src / main / ts / tsx / DjxFragment.ts
cin
Added DjxFragment...
r19 import { _Widget } from "./WidgetContext";
import { MapOf } from "@implab/core-amd/interfaces";
cin
Added @prototype decorator
r24 import { prototype } from "../declare";
cin
Added DjxFragment...
r19
/** Special widget used to create a document fragment */
export class DjxFragment implements _Widget {
domNode: Node;
cin
Working on IntrisictElements to support legacy and new tsx styles
r40 containerNode: Node;
cin
Added DjxFragment...
r19
constructor() {
this.domNode = this.containerNode = document.createDocumentFragment();
}
cin
Fixes in WidgetContex, added _Container.addChild support
r38 buildRendering() {
// this function marks this class as _Widget
cin
Added DjxFragment...
r19 }
}