@sandlada/mdc
Version:
@sandlada/mdc is an open source component library that follows the Material Design 3 design specifications.
7 lines • 528 B
JavaScript
import{desc as e}from"./base.js";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/function t(t,n){return(r,i,a)=>{let o=e=>e.renderRoot?.querySelector(t)??null;if(n){let{get:t,set:n}=typeof i==`object`?r:a??(()=>{let e=Symbol();return{get(){return this[e]},set(t){this[e]=t}}})();return e(r,i,{get(){let e=t.call(this);return e===void 0&&(e=o(this),(e!==null||this.hasUpdated)&&n.call(this,e)),e}})}return e(r,i,{get(){return o(this)}})}}export{t as query};
//# sourceMappingURL=query.js.map