
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@grapecity/activereports-angular
Advanced tools
This package is a part of the ActiveReportsJS and provides angular wrapper for ARJS Viewer Component
npm install -g @angular/cli
ng new arjs-angular --defaults
cd arjs-angular
npm install @grapecity/activereports-angular
src/app/app.component.html
:<gc-activereports-viewer height="100vh" #reportviewer></gc-activereports-viewer>
src/app/app.module.ts
file:import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { ActiveReportsModule } from '@grapecity/activereports-angular';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
ActiveReportsModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
src/app/app.component.ts
:import { Component, ViewChild, AfterViewInit } from '@angular/core';
import { ViewerComponent } from '@grapecity/activereports-angular';
@Component({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent implements AfterViewInit {
@ViewChild('reportviewer', { static: false }) reportviewer?: ViewerComponent;
ngAfterViewInit() {
this.reportviewer?.init.subscribe(() =>{
this.reportviewer?.open({
"Name": "Report",
"Body": {
"ReportItems": [
{
"Type": "textbox",
"Name": "TextBox1",
"Value": "Hello, ActiveReportsJS Viewer",
"Style": {
"FontSize": "18pt"
},
"Width": "8.5in",
"Height": "0.5in"
}
]
}
});
});
}
}
src/styles.css
:@import '@grapecity/activereports/styles/ar-js-ui.css';
@import '@grapecity/activereports/styles/ar-js-viewer.css';
npm start
For more information on how to use ActiveReportsJS and available tools, refer to the Documentation or API reference for guidance.
FAQs
ActiveReportsJS components for Angular
The npm package @grapecity/activereports-angular receives a total of 2,851 weekly downloads. As such, @grapecity/activereports-angular popularity was classified as popular.
We found that @grapecity/activereports-angular demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.