Package Exports
- @ppci-mock/energy-subtype-icon
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ppci-mock/energy-subtype-icon) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Energy subtype icon
Table of contents
Installation
NPM
npm i @ppci-mock/energy-subtype-icon
// Polyfill: https://lit-element.polymer-project.org/guide/use#polyfills
npm i --save-dev @webcomponents/webcomponentsjs
Usage
Javascript
import '@ppci-mock/energy-subtype-icon'
Browser
<!-- Default -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci-mock/energy-subtype-icon/builds/index.min.js" />
<!-- Legacy -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci-mock/energy-subtype-icon/builds/legacy.min.js" />
<!-- Component -->
<energy-subtype-icon
type="String"
></energy-subtype-icon>
Styling
energy-subtype-icon {
--size: 32px;
--icon-size: 20px;
}
Properties
Property | Type | Description | Possible Values |
*type* | String | Energy subtype | SUN | WIND | WATER |