package.development.polyfill-support.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lit-element Show documentation
Show all versions of lit-element Show documentation
A simple base class for creating fast, lightweight web components
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
/**
* LitElement 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, but
* support for Shadow DOM like css scoping is opt-in. This module uses ShadyCSS
* to scope styles defined via the `static styles` property and styles included
* in the render method. There are some limitations to be aware of:
* * only styles that are included in the first render of a component are scoped.
* * In addition, support for the deprecated `@apply` feature of ShadyCSS is
* only provided for styles included in the template and not styles provided
* via the static styles property.
* * Lit parts cannot be used in styles included in the template.
*
* @packageDocumentation
*/
import '@lit/reactive-element/polyfill-support.js';
import 'lit-html/polyfill-support.js';
//# sourceMappingURL=polyfill-support.d.ts.map
© 2015 - 2024 Weber Informatics LLC | Privacy Policy