1.3.37 • Published 4 years ago

@ppci-mock/yearly-usage v1.3.37

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Yearly usage

Table of contents

Installation

NPM

npm i @ppci-mock/yearly-usage

// Polyfill: https://lit-element.polymer-project.org/guide/use#polyfills
npm i --save-dev @webcomponents/webcomponentsjs

Usage

Javascript

import '@ppci-mock/yearly-usage'

Browser

<!-- Default -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci-mock/yearly-usage/builds/index.min.js" />

<!-- Legacy -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci-mock/yearly-usage/builds/legacy.min.js" />

<!-- Component -->
<yearly-usage
  deviceId=${String}
  startDate=${String}
  endDate=${String}
></yearly-usage>

Properties