0.0.8 • Published 1 year ago
fc-experiment-kpi-v3 v0.0.8
fc-experiment-kpi-v3
A custom element that displays Key Performance Indicator (KPI) data in a compact and visually appealing manner.
Installation
To install the package, run the following command:
npm install fc-experiment-kpi-v3
Usage
To use the element, import it into your project and include it in your HTML:
<script type="module" src="node_modules/fc-experiment-kpi-v3"></script>
<fc-experiment-kpi-v3></fc-experiment-kpi-v3>
Properties
The following properties can be used to customize the appearance and behavior of the KPI:
config
: An object that contains the configuration data for the KPI.switchArrow
: A boolean that indicates whether to switch the arrow direction when the value changes.switchColors
: A boolean that indicates whether to switch between two color options based on the value of the KPI.