1.0.8 • Published 8 months ago

@opensign/angular v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
8 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" baseUrl="#baseUrl" appId="#appId" (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.8

8 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

10 months ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago