@skatejs/ssr
Version:
Server-side render your web components.
15 lines (12 loc) • 340 B
JavaScript
const Element = require('./Element');
// TODO split out Element into a common base since this shouldn't be
// inheriting all of it.
const DocumentFragment = class extends Element {
get nodeName() {
return '#document-fragment';
}
get nodeType() {
return Node.DOCUMENT_FRAGMENT_NODE;
}
};
module.exports = DocumentFragment;