@haxtheweb/haxcms-nodejs
Version:
HAXcms single and multisite nodejs server, api, and administration
6 lines • 493 B
JavaScript
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
export const PartType={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6};export const directive=t=>(...e)=>({_$litDirective$:t,values:e});export class Directive{constructor(t){}get _$isConnected(){return this._$parent._$isConnected}_$initialize(t,e,r){this.__part=t,this._$parent=e,this.__attributeIndex=r}_$resolve(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}