DjxFragment.ts
17 lines
| 475 B
| video/mp2t
|
TypeScriptLexer
cin
|
r19 | import { _Widget } from "./WidgetContext"; | |
import { MapOf } from "@implab/core-amd/interfaces"; | |||
cin
|
r24 | import { prototype } from "../declare"; | |
cin
|
r19 | ||
/** Special widget used to create a document fragment */ | |||
export class DjxFragment implements _Widget { | |||
domNode: Node; | |||
cin
|
r40 | containerNode: Node; | |
cin
|
r19 | ||
constructor() { | |||
this.domNode = this.containerNode = document.createDocumentFragment(); | |||
} | |||
cin
|
r38 | buildRendering() { | |
// this function marks this class as _Widget | |||
cin
|
r19 | } | |
} |