UNPKG

1.13 kBTypeScriptView Raw
1/**
2 * @license
3 * Copyright 2017 Google LLC
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6/**
7 * LitElement 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, but
12 * support for Shadow DOM like css scoping is opt-in. This module uses ShadyCSS
13 * to scope styles defined via the `static styles` property and styles included
14 * in the render method. There are some limitations to be aware of:
15 * * only styles that are included in the first render of a component are scoped.
16 * * In addition, support for the deprecated `@apply` feature of ShadyCSS is
17 * only provided for styles included in the template and not styles provided
18 * via the static styles property.
19 * * Lit parts cannot be used in styles included in the template.
20 *
21 * @packageDocumentation
22 */
23import '@lit/reactive-element/polyfill-support.js';
24import 'lit-html/polyfill-support.js';
25//# sourceMappingURL=polyfill-support.d.ts.map
\No newline at end of file