
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
draggable-ng
Advanced tools
🖯 Angular wrapper for @shopify/draggable
This is a very early alpha build not suitable for production use
Include the Draggable Module in one of your apps modules.
import { DraggableModule } from 'draggable-ng/dist/draggable.module';
@NgModule({
imports: [ DraggableModule ]
})
import { Component } from '@angular/core';
import { DraggableOptions } from 'draggable-ng/dist/model/draggable-options';
@Component({
selector: 'some-component',
templateUrl: './some.component.html'
})
export class SomeComponent {
options = new DraggableOptions();
onDragEvent(event) {
console.log(event);
}
onMirrorEvent(event) {
console.log(event);
}
}
<draggable options=options (onDragEvent)=onDragEvent($event) (onMirrorEvent)=onMirrorEvent($event)>
<ul draggable-container>
<li class="draggable-source">Bread</li>
<li class="draggable-source">Eggs</li>
<li class="draggable-source">Milk</li>
</ul>
<ul draggable-container>
<li class="draggable-source">Chicken</li>
<li class="draggable-source">Beef</li>
<li class="draggable-source">Pastrami</li>
</ul>
</draggable>
Where options is an instance of Draggable Options.
Mirror events and drag events are emitted on separate event emitters and each emits an Object of the form
{
type
event
}
Where event type is from the list of events
import { Component } from '@angular/core';
import { DraggableOptions } from 'draggable-ng/dist/model/draggable-options';
@Component({
selector: 'some-component',
templateUrl: './some.component.html'
})
export class SomeComponent {
options = new DraggableOptions();
onDragEvent(event) {
console.log(event);
}
onMirrorEvent(event) {
console.log(event);
}
onDropEvent(event) {
console.log(event);
}
}
<droppable options=options (onDragEvent)=onDragEvent($event) (onDropEvent)=onDropEvent($event) (onMirrorEvent)=onMirrorEvent($event)>
<ul draggable-container class="draggable-droppable">
<li class="draggable-source">Bread</li>
<li class="draggable-source">Eggs</li>
<li class="draggable-source">Milk</li>
</ul>
<ul draggable-container class="draggable-droppable">
<li class="draggable-source">Chicken</li>
<li class="draggable-source">Beef</li>
<li class="draggable-source">Pastrami</li>
</ul>
</droppable>
Where options is an instance of Draggable Options.
Mirror, drag and drop events are emitted on separate event emitters and each emits an Object of the form
{
type
event
}
Where event type is from the list of drag events or the list of drop events
FAQs
Angular wrapper for @shopify/draggable
The npm package draggable-ng receives a total of 0 weekly downloads. As such, draggable-ng popularity was classified as not popular.
We found that draggable-ng 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.
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.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.