1.0.0 • Published 3 years ago

@google-pay/save-button-angular v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

Save to Google Pay Angular button

This is the Angular component for the Save to Google Pay button.

Installation

npm install @google-pay/save-button-angular

Import the module into your application:

import { SaveToGooglePayButtonModule } from '@google-pay/save-button-angular';

@NgModule({
  // ...
  imports: [ /* ... */ SaveToGooglePayButtonModule],
  // ...
})

Example usage: Angular website

<save-to-google-pay-button jwt="eyJhbGci...7_eD2kT3_IuHxw" height="standard" textsize="large">
</save-to-google-pay-button>

An Angular example can be found in the examples folder of this repository.

Documentation

Properties

Callbacks/events

Visit the Google Pay API for Passes for Web API Reference for more information about integrating the different button properties.

About this package

Note that this folder does not contain a package.json file. The package.json file is generated during the build process using the package-template.json where the version number is read from the package.json file defined in the root of this repository.