
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@privyid/pena-angular
Advanced tools
PrivyID's Official Client Integration Library for Angular
package.jsonNPM
npm install --save @privyid/pena-angular @privyid/pena
Yarn
yarn add @privyid/pena-angular @privyid/pena
import { PenaModule } from '@privyid/pena-angular'
@NgModule({
/* ... */
imports: [PenaModule],
/* ... */
})
export class AppModule {}
import type { Placement, Payload } from '@privyid/pena'
@Component({
selector: 'app-root',
template: `
<pena
url="http://sign.document.com/doc/xxx"
lang="en"
layout="fixed"
[signature]="signature"
(afterAction)="onAfterAction($event)"
/>
`,
styles: [],
})
export class AppComponent {
signature: Placement = {
x : 100,
y : 200,
page : 1,
fixed: false,
}
onAfterAction (event: Payload) {
if (event.action === 'sign') {
window.alert('Signed')
}
}
}
| Name | Type | Default | Description |
|---|---|---|---|
url | string | - | (Required) Document's url |
lang | string | en | Set language, valid value is en or id |
layout | string | fixed | Set layout mode, valid value is fixed or fit, see the different |
visibility | boolean | true | Set signature visibility |
privyId | string | - | Set recipient's privyId |
signature | object | - | Set signature placement (Deprecated) use API to set placement when upload the document |
├ x | number | - | X Coordinate |
├ y | number | - | Y Coordinate |
├ page | number | - | Target page |
└ fixed | boolean | false | Disabled signature for moving |
debug | boolean | false | Enable debug mode |
ratio | number | 210 / 297 | Ratio size (Layout fixed only) |
needScrollTo | number | string | - | Force user to scroll to target page before doing an action (sign,review,etc). Valid value is a number, or set last to target the last page |
| Name | Arguments | Description |
|---|---|---|
afterAction | Payload | After action hook |
This project is licensed under the MIT License - see the LICENSE file for details
FAQs
PrivyID's Official Client Integration Library for Angular
We found that @privyid/pena-angular demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.