UNPKG

1.19 kBTypeScriptView Raw
1/**
2 * @license
3 * Copyright 2017 Google LLC
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6/**
7 * lit-html patch to support browsers without native web components.
8 *
9 * This module should be used in addition to loading the web components
10 * polyfills via @webcomponents/webcomponentjs. When using those polyfills
11 * support for polyfilled Shadow DOM is automatic via the ShadyDOM polyfill.
12 * Scoping classes are added to DOM nodes to facilitate CSS scoping that
13 * simulates the style scoping Shadow DOM provides. ShadyDOM does this scoping
14 * to all elements added to the DOM. This module provides an important
15 * optimization for this process by pre-scoping lit-html template
16 * DOM. This means ShadyDOM does not have to scope each instance of the
17 * template DOM. Instead, each template is scoped only once.
18 *
19 * Creating scoped CSS is not covered by this module. It is, however, integrated
20 * into the lit-element and @lit/reactive-element packages. See the ShadyCSS docs
21 * for how to apply scoping to CSS:
22 * https://github.com/webcomponents/polyfills/tree/master/packages/shadycss#usage.
23 *
24 * @packageDocumentation
25 */
26export {};
27//# sourceMappingURL=polyfill-support.d.ts.map
\No newline at end of file