0.2.27 • Published 4 years ago
@ppci/top-sources v0.2.27
Top Consumer | Top Prosumers
Shows a list of your top x consumers/Prosumers
Table of contents
Installation
NPM
npm i @ppci/top-sources
Usage
Javascript
import '@ppci/top-sources'
Browser
<!-- Default -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci/top-sources/builds/index.min.js" />
<!-- Legacy -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci/top-sources/builds/legacy.min.js" />
<top-sources
deviceId="String"
direction="String"
energyType="String"
sortBy="String"
startDate="Date"
endDate="Date"
></top-sources>
Theme | Styling
top-sources {
/*
* Category colors
* 1: LOCAL
* 2: SOCIAL
*/
--1-color: #32b4e9;
--2-color: #ffa800;
--icon-sun: '\\e9d4';
--icon-wind: '\\e9c1';
--icon-water: '\\e90b';
}
Properties
0.2.27
4 years ago
0.2.26
4 years ago
0.2.25
4 years ago
0.2.24
4 years ago
0.2.23
4 years ago
0.2.22
4 years ago
0.2.21
4 years ago
0.2.20
4 years ago
0.2.19
4 years ago
0.2.18
4 years ago
0.2.17
4 years ago
0.2.16
4 years ago
0.2.15
4 years ago
0.2.14
4 years ago
0.2.12
4 years ago
0.2.11
5 years ago
0.2.10
5 years ago
0.2.9
5 years ago
0.2.8
5 years ago
0.2.7
5 years ago
0.2.6
5 years ago
0.2.5
5 years ago
0.2.4
5 years ago
0.2.3
5 years ago
0.2.2
5 years ago
0.2.0
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago