
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@diningcity/ngx-grid-drag-and-drop
Advanced tools
A simple component for using the @angular/cdk drag and drop sort functions with a mixed orientation grid list
This repository is a fork of the awesome @sam-1994/ngx-drag-and-drop-grid.
This drag and drop plug in takes the same features as the previous plug in, but updated with Angular 10+ support.
To install from the command line:
npm install @diningcity/ngx-grid-drag-and-drop
SamDragAndDropGridModule
:Finally, you can use ngx-translate in your Angular project. You have to import SamDragAndDropGridModule
in the NgModule.
import {BrowserModule} from '@angular/platform-browser';
import {NgModule} from '@angular/core';
import {SamDragAndDropGridModule} from '@diningcity/ngx-grid-drag-and-drop';
@NgModule({
imports: [
BrowserModule,
SamDragAndDropGridModule
],
bootstrap: [AppComponent]
})
export class AppModule { }
import {Component, OnInit} from '@angular/core';
import {SamDragAndDropGridModule} from 'drag-and-drop-grid-module';
@Component({
selector: 'app-drag-and-drop-grid-example',
templateUrl: './drag-and-drop-grid.component.html',
styleUrls: ['./drag-and-drop-grid.component.sass']
})
export class SamDragAndDropGridExampleComponent implements OnInit {
public list = [1, 2, 3, 4, 5, 6, 7, 8, 9];
ngOnInit() {
}
}
<sam-drag-and-drop-grid [items]="list" [columnNumber]="5">
<div *samDragAndDropListData="let listItem; let i=index">
Item {{listItem}}; Index {{i}}
</div>
</sam-drag-and-drop-grid>
You can use the samDragAndDropListData
directive to inject your custom template as grid items.
FAQs
A simple component for using the @angular/cdk drag and drop sort functions with a mixed orientation grid list
The npm package @diningcity/ngx-grid-drag-and-drop receives a total of 2 weekly downloads. As such, @diningcity/ngx-grid-drag-and-drop popularity was classified as not popular.
We found that @diningcity/ngx-grid-drag-and-drop demonstrated a not healthy version release cadence and project activity because the last version was released 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.