New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@pagewrightjs/angular

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@pagewrightjs/angular

Pagewright viewer and designer custom elements for Angular (CUSTOM_ELEMENTS_SCHEMA).

latest
npmnpm
Version
0.7.3
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@pagewrightjs/angular

<pagewright-viewer> and <pagewright-designer> custom elements for Angular. Custom elements need no Angular compiler step, so they work with any Angular version.

// main.ts
import { definePagewrightElements } from '@pagewrightjs/angular';
definePagewrightElements();

// a standalone component
@Component({
  selector: 'app-report',
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  template: `
    <pagewright-viewer [options]="{ server: 'https://reports.example.com', report: 'invoice', params: { id: id } }"></pagewright-viewer>
    <pagewright-designer [options]="{ server: server, definition: def }" (pw-save)="save($event.detail)"></pagewright-designer>`,
})
export class ReportComponent { /* … */ }

options are those of mountViewer / mountDesigner (see @pagewrightjs/viewer); server, report, height and lang also work as attributes. Events: pw-ready (detail: the handle) and, on the designer without an onSave, pw-save (detail: the definition). MIT.

FAQs

Package last updated on 05 Oct 2026

Related posts