preferences-web-extension
TypeScript icon, indicating that this package has built-in type declarations

0.0.23 • Public • Published

Preference Web Component

This is a preferences web component which can be integrated into any website.

Installation

npm i preferences-web-extension

Use the package manager npm to install web component.

Getting Started

Usage

<preference-view env-config='{"apiHost":"http://localhost:4000","apiKey":"apikey"}' 
    access-token="token" hr-id="389755"></preference-view>

To customize colors, define the following CSS variables in your application:

  • --pref-app-color-darkBlueGreen
  • --pref-app-color-darkGreen
  • --pref-app-color-midGreen
  • --pref-app-color-blackGrey
  • --pref-app-color-lightGrey
  • --pref-app-color-iOsSystemTintsSystemGreenLight

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.23
    8
    • latest

Version History

Package Sidebar

Install

npm i preferences-web-extension

Weekly Downloads

190

Version

0.0.23

License

MIT

Unpacked Size

536 kB

Total Files

79

Last publish

Collaborators

  • chiragkhanna