@ppci-mock/yearly-usage

1.3.37 • Public • Published

Yearly usage

Table of contents

  1. Installation
  2. Usage
  3. Properties

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

Property Type Description Possible Values
*deviceId* String
startDate String format: YYYY-MM-DD
endDate String format: YYYY-MM-DD

Readme

Keywords

Package Sidebar

Install

npm i @ppci-mock/yearly-usage

Weekly Downloads

0

Version

1.3.37

License

ISC

Unpacked Size

12.7 kB

Total Files

7

Last publish

Collaborators

  • fsevenhuysen
  • borai
  • franksevenhuysen