Icard/angular-clarity-master(work.../node_modules/lit-html/development/polyfill-support.d.ts

27 lines
1.2 KiB
TypeScript
Raw Permalink Normal View History

2024-07-16 14:55:36 +00:00
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
/**
* lit-html patch to support browsers without native web components.
*
* This module should be used in addition to loading the web components
* polyfills via @webcomponents/webcomponentjs. When using those polyfills
* support for polyfilled Shadow DOM is automatic via the ShadyDOM polyfill.
* Scoping classes are added to DOM nodes to facilitate CSS scoping that
* simulates the style scoping Shadow DOM provides. ShadyDOM does this scoping
* to all elements added to the DOM. This module provides an important
* optimization for this process by pre-scoping lit-html template
* DOM. This means ShadyDOM does not have to scope each instance of the
* template DOM. Instead, each template is scoped only once.
*
* Creating scoped CSS is not covered by this module. It is, however, integrated
* into the lit-element and @lit/reactive-element packages. See the ShadyCSS docs
* for how to apply scoping to CSS:
* https://github.com/webcomponents/polyfills/tree/master/packages/shadycss#usage.
*
* @packageDocumentation
*/
export {};
//# sourceMappingURL=polyfill-support.d.ts.map