##// END OF EJS Templates
Added tag v1.0.0-rc8 for changeset 8f4d5e2c719a
Added tag v1.0.0-rc8 for changeset 8f4d5e2c719a

File last commit:

r19:8f4d5e2c719a v1.0.0-rc8 default
r20:10be5c661c79 default
Show More
DjxFragment.ts
22 lines | 529 B | video/mp2t | TypeScriptLexer
import { _Widget } from "./WidgetContext";
import { MapOf } from "@implab/core-amd/interfaces";
/** Special widget used to create a document fragment */
export class DjxFragment implements _Widget {
domNode: Node;
containerNode?: Node;
constructor() {
this.domNode = this.containerNode = document.createDocumentFragment();
}
get(attr: string) {
return undefined;
}
set(attr: string, value: any): void;
set(attrs: MapOf<any>): void;
set() {
/* do nothing */
}
}