@ppci/yearly-usage
v1.3.21
Published
Yearly usage
Downloads
5
Readme
Yearly usage
Table of contents
Installation
NPM
npm i @ppci/yearly-usage
// Polyfill: https://lit-element.polymer-project.org/guide/use#polyfills
npm i --save-dev @webcomponents/webcomponentsjs
Usage
Javascript
import '@ppci/yearly-usage'
Browser
<!-- Default -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci/yearly-usage/builds/index.min.js" />
<!-- Legacy -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci/yearly-usage/builds/legacy.min.js" />
<!-- Component -->
<yearly-usage
deviceId=${String}
startDate=${String}
endDate=${String}
></yearly-usage>