@bpanel/price-widget

0.0.7 • Public • Published

Price widget

This plugin adds a widget to the footer that displays the current exchange rate stored in the application state by the core price plugin. In a wide enough window, it will display two dropdown menus for the user to select which fiat currency is used and which API is providing the data. This is done by dispatching the following actions which the core price plugin listens for:

REFRESH_PRICE
UPDATE_FIAT
UPDATE_FEED

When installed, this plugin will update the price in the application state every 60 seconds.

Included with other widgets in genesis-theme: screenshot

Without any theme installed: screenshot

Important: This plug in currently requires the bPanel backend plugin @bpanel/curl to be installed separately by the user:

Using bpanel-cli

$ bpanel-cli i @bpanel/curl

Optional:

The appearace of this widget can be modified by installing the additional plugin price-settings.

screenshot

Readme

Keywords

Package Sidebar

Install

npm i @bpanel/price-widget

Weekly Downloads

2

Version

0.0.7

License

MIT

Unpacked Size

8.84 MB

Total Files

11

Last publish

Collaborators

  • bucko
  • mark-purse
  • pinheadmz
  • tynes