UNPKG

@haxtheweb/haxcms-nodejs

Version:

HAXcms single and multisite nodejs server, api, and administration

6 lines 450 B
import{noChange as t}from"../lit-html.js";import{directive as e,Directive as r,PartType as n}from"../directive.js"; /** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: BSD-3-Clause */const o=e(class extends r{constructor(t){if(super(t),t.type!==n.CHILD)throw Error("templateContent can only be used in child bindings")}render(e){return this.vt===e?t:(this.vt=e,document.importNode(e.content,!0))}});export{o as templateContent};