Aller au contenu

Angular

Ce contenu n’est pas encore disponible dans votre langue.

Use @subnoto/embed-angular to render the signing UI in an Angular app. Pass the iframe token and optional host; the component builds the embed URL.

install.sh
pnpm add @subnoto/embed-angular
# or npm install @subnoto/embed-angular

Import the embed module in your app or feature module.

Create the iframe token on your backend and pass it to the client. See Iframe token for the API.

signing-view.component.html
<div class="embed-container">
<subnoto-sign-embed
[token]="iframeToken"
[host]="host"
title="Subnoto signing">
</subnoto-sign-embed>
</div>

Bind token (required) and optionally host (default https://app.subnoto.com). Use a sized container so the iframe fills the space.