
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
@csvbox/angular2
Advanced tools
Standalone Angular component for csvbox.io supporting Angular version 14 till 19
Standalone Angular component for csvbox.io supporting Angular version 14 till 19
Angular Version | Package |
---|---|
8 to 13 | @csvbox/angular |
14 to 19 | @csvbox/angular2 (this package) |
npm install @csvbox/angular2
Add CSVBoxButtonComponent
to your module imports
import { CSVBoxButtonComponent } from "@csvbox/angular2";
@NgModule({
...
imports: [
...
CSVBoxButtonComponent
]
})
<csvbox-button [licenseKey]="licenseKey" [isImported]="isImported.bind(this)" [user]="user">Import</csvbox-button>
@Component({
selector: 'app-root',
template: `
<csvbox-button
[licenseKey]="licenseKey"
[user]="user"
[isImported]="isImported.bind(this)">
Import
</csvbox-button>
`
})
export class AppComponent {
title = 'example';
licenseKey = 'YOUR_LICENSE_KEY_HERE';
user = { user_id: 'default123' };
isImported(result: boolean, data: any) {
if(result) {
console.log("Sheet uploaded successfully");
console.log(data.row_success + " rows uploaded");
}else{
console.log("There was some problem uploading the sheet");
}
}
}
Event | Description |
---|---|
isReady | Triggers when the importer is initialized and ready for use by the users. |
isClosed | Triggers when the importer is closed. |
isSubmitted | Triggers when the user hits the 'Submit' button to upload the validated file. data object is available in this event. It contains metadata related to the import. |
isImported | Triggers when the data is pushed to the destination. Two objects are available in this event: 1. result (boolean): It is true when the import is successful and false when the import fails. 2. data (object): Contains metadata related to the import. |
For usage see the guide here - https://help.csvbox.io/getting-started#2-install-code
MIT © csvbox-io
FAQs
Standalone Angular component for csvbox.io supporting Angular version 14 till 19
The npm package @csvbox/angular2 receives a total of 292 weekly downloads. As such, @csvbox/angular2 popularity was classified as not popular.
We found that @csvbox/angular2 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.