bja-xrp-donations
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

XRP Donations

Simple Angular 6+ XRP donations component.

How to use

Import XRPDonationsModule.

Use component on your app: <ngx-xrp-donations wallet='wallet_address''></ngx-xrp-donations>

Demo

https://bja1011.github.io/angular-xrp-donations/

Config

You can configure which elements to show or pass custom class to style the component.

interface XrpDonationsConfig {
  showBalance?: boolean;
  showAccount?: boolean;
  showQRCode?: boolean;
  containerClass?: string;
  showConnectionStatus?: boolean;
}

Just pass your config object:

myConfig: XrpDonationsConfig = {
  showBalance: true,
  showAccount: false,
  showQRCode: true,
  containerClass: 'my-custom-class',
  showConnectionStatus: false
};

<bja-xrp-donations [config]="myConfig" account="account"></bja-xrp-donations>

All boolean properties are optional and true as default.

Third-party info

Using http://goqr.me/api/ to generate QR codes.

Readme

Keywords

none

Package Sidebar

Install

npm i bja-xrp-donations

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

178 kB

Total Files

29

Last publish

Collaborators

  • bja