first commit
This commit is contained in:
7
node_modules/lit-html/directives/template-content.js
generated
vendored
Normal file
7
node_modules/lit-html/directives/template-content.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import{noChange as t}from"../lit-html.js";import{directive as r,Directive as e,PartType as n}from"../directive.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2020 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/const o=r(class extends e{constructor(t){if(super(t),t.type!==n.CHILD)throw Error("templateContent can only be used in child bindings")}render(r){return this.vt===r?t:(this.vt=r,document.importNode(r.content,!0))}});export{o as templateContent};
|
||||
//# sourceMappingURL=template-content.js.map
|
Reference in New Issue
Block a user