Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
angular2-iron-data-table
Advanced tools
<iron-data-table>
with ng cli
ng new my-dream-app
cd my-dream-app
npm install angular2-iron-data-table --save
Install
@vaadin/angular2-polymer
as a dependency
angular-cli-build.json
:
'@vaadin/angular2-polymer/**/*.js'
and 'angular2-iron-data-table/index.js'
to vendorNpmFiles
src/system-config.ts
:
@vaadin/angular2-polymer
and angular2-iron-data-table
to barrels
'@vaadin': 'vendor/@vaadin'
and 'angular2-iron-data-table': 'vendor/angular2-iron-data-table'
to map
<iron-data-table>
cd public
bower install iron-data-table
index.html
:
<script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="bower_components/iron-data-table/iron-data-table.html">
<link rel="import" href="bower_components/iron-data-table/default-styles.html">
(optional)src/app/my-dream-app.component.ts
import { PolymerElement } from '@vaadin/angular2-polymer';
import { RowTemplate, HeaderTemplate, DetailsTemplate} from 'angular2-iron-data-table';
items = [{value: 'foo'}, {value: 'bar'}];
into constructorsrc/app/my-dream-app.component.html
<iron-data-table [items]="items">
<data-table-column name="Column Name">
<div *headerTemplate="let column=column">Column name is: {{column.name}}</div>
<div *rowTemplate="let item=item">{{item.value}}</div>
</data-table-column>
</iron-data-table>
@vaadin/angular2-polymer converts the API to be angular2-compatible, see http://saulis.github.io/iron-data-table/ and http://saulis.github.io/iron-data-table/demo/ for more API details and usage examples.
FAQs
Angular 2 directives to support iron-data-table
The npm package angular2-iron-data-table receives a total of 0 weekly downloads. As such, angular2-iron-data-table popularity was classified as not popular.
We found that angular2-iron-data-table demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.