@ppci/usage-origin

1.3.23 • Public • Published

Usage Origin

Table of contents

  1. Installation
  2. Usage
  3. Properties
  4. Styling

Installation

NPM

npm i @ppci/usage-origin

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

Usage

Javascript

import '@ppci/usage-origin'

Browser

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

<!-- Legacy -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci/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;
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.3.230latest

Version History

VersionDownloads (Last 7 Days)Published
1.3.230
1.3.220
1.3.210
1.3.200
1.3.190
1.3.180
1.3.170
1.3.160
1.3.150
1.3.130
1.3.120
1.3.110
1.3.100
1.3.90
1.3.80
1.3.70
1.3.60
1.3.50
1.3.40
1.3.30
1.3.20
1.3.00
1.2.120
1.2.110
1.2.100
1.2.90
1.2.70
1.2.60
1.2.50
1.2.40
1.2.30
1.2.20
1.2.10

Package Sidebar

Install

npm i @ppci/usage-origin

Weekly Downloads

0

Version

1.3.23

License

ISC

Unpacked Size

9.71 kB

Total Files

8

Last publish

Collaborators

  • fsevenhuysen
  • nazim.mohammed
  • gaalman
  • borai
  • franksevenhuysen