
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@blueprintui/crane
Advanced tools
npm install @blueprintui/crane
import 'https://cdn.jsdelivr.net/npm/@blueprintui/crane@0.0.0/include/crane.js/+esm';
<bp-crane>
<button>1</button>
<button>2</button>
<button>3</button>
<button>4</button>
<bp-dropzone></bp-dropzone>
</bp-crane>
import '@blueprintui/crane/include/crane.js';
document.querySelector('bp-crane').addEventListener('bp-crane-drop', e => {
e.detail.target.parentElement.insertBefore(e.detail.source, e.detail.target);
});
bp-cranebp-dropzone| Event | Description | Detail Return Type |
|---|---|---|
bp-crane-start | user starts dragging an item | BpDraggableChangeEvent |
bp-crane-enter | item enters valid drop target | BpDraggableChangeEvent |
bp-crane-leave | item leaves valid drop target | BpDraggableChangeEvent |
bp-crane-end | drag operation ends | BpDraggableChangeEvent |
bp-crane-drop | item is dropped on a valid drop target | BpDraggableChangeEvent |
bp-crane-over | item is dragged over a valid drop target | BpDraggableChangeEvent |
bp-crane-drag | item is dragged | BpDraggableChangeEvent |
interface BpDraggableChangeEvent {
source?: HTMLElement;
target?: HTMLElement;
type: 'start' | 'drag' | 'over' | 'drop' | 'enter' | 'leave' | 'end';
interaction?: 'pointer' | 'key';
}
FAQs
Simple and lightweight drag and drop components and utilities.
The npm package @blueprintui/crane receives a total of 67 weekly downloads. As such, @blueprintui/crane popularity was classified as not popular.
We found that @blueprintui/crane demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.