1.0.3 • Published 10 months ago

@opensign/angular v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

This package helps you easily integrate OpenSign into your Angular apps.

Installation

npm install @opensign/angular

Usage

Create public template from https://www.opensignlabs.com

npm.io

import { Component } from "@angular/core";
import { OpensignComponent } from "@opensign/angular";

@Component({
  selector: "app-root",
  standalone: true,
  imports: [OpensignComponent],
  template: `<opensign templateId="#templateid" (onLoad)="handleLoad()" (onLoadError)="handleError($event)"></opensign>`,
})
export class AppComponent {
  handleLoad() {
    console.log("success");
  }

  handleError(error: string) {
    console.log(error);
  }
}

Demo

🚀Try this Demo

npm.io


License

MIT

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago