
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.
@exmg/exm-sortable
Advanced tools
<exm-sortable> Enables drag and drop sorting of items in a list or table
!!! You should always handle @dom-order-change to update your local .items property to update sorted list properly
npm install @exmg/exm-sortable
<exm-sortable item-selector="div.box" @dom-order-change="${this.orderChange}">
<div class="boxes">
${this.users.map((user) => { return html`
<div class="box">${user.firstName}</div>
`; })}
</div>
</exm-sortable>
| Name | Description |
|---|---|
| default | Elements to sort |
| Name | Type | Default | Description |
|---|---|---|---|
handleSelector | string | None | Selector of the 'handle' to sort |
itemSelector | string | li | Selector of the items |
animationEnabled | boolean | false | The value that gets copied and displayed |
clonedClass | string | None | Class of the cloned element |
draggedClass | string | None | Class of the dragged element |
animationTiming | object | {duration: 200, easing: 'ease-out'} | The timing of the animation |
orientation | string | None | Whether or not to display the sortable element horizontally or vertically |
None
None
FAQs
Enables drag and drop sorting of items in a list or table
The npm package @exmg/exm-sortable receives a total of 350 weekly downloads. As such, @exmg/exm-sortable popularity was classified as not popular.
We found that @exmg/exm-sortable demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 16 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.

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.