Installation
The Sparklines for WireBootstrap library is located in wire-sparklines.js
. This and other other related files can be installed from the NPM package registry at@wirebootstrap/wire-sparklines
.
Sparklines for WireBootstrap will load query.sparkline.min.js
from a CDN if it's not found on the page.
Class
Sparklines for WireBootstrap extends the wire.ui.component class. As such, it inherits all the base functionality of that class.
To create a new instance of the Sparklines for WireBootstrap component, use the wire.sparkline
class.
Render
Render the component using an HTML div
element.
Last updated