Package Exports
- @ppci-mock/usage-origin
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/usage-origin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Usage Origin
Table of contents
Installation
NPM
npm i @ppci-mock/usage-origin
// Polyfill: https://lit-element.polymer-project.org/guide/use#polyfills
npm i --save-dev @webcomponents/webcomponentsjsUsage
Javascript
import '@ppci-mock/usage-origin'Browser
<!-- Default -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci-mock/usage-origin/builds/index.min.js" />
<!-- Legacy -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci-mock/usage-origin/builds/legacy.min.js" />
<!-- Component -->
<usage-origin></usage-origin>Properties
| Property | Type | Description | Possible Values |
| *deviceId* | String | ||
| startDate | String | format: YYYY-MM-DD | |
| endDate | String | format: YYYY-MM-DD |
Styling
* {
--cat-1-color:#32b4e9;
--cat-2-color:#ffa800;
.
.
--cat-N-color:red;
---cat-backup-color:gray;
}