Trellis UI
Sortable programmatic API
Sortable state belongs to the Alpine runtime that registered the capability. In Alpine expressions, use
$ui.sortable. Application modules can use the same registered service through ui.sortable after the Sortable
capability has loaded:
import {ui} from "@vireo-ai/trellis-ui";
ui.sortable.moveBefore({
scope: "board",
sourceId: "a",
anchorId: "c",
destinationGroupId: "doing",
});
The former named sortable export has been removed. Replace calls on that shared singleton with $ui.sortable or
ui.sortable. If you manually register the directive, capture the registry returned by
registerSortableDirective(Alpine). createSortableRegistry() creates a standalone registry; it does not control
groups registered by the directive.
Metadata
Release files for django-trellis 0.1.54
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_trellis-0.1.54.tar.gz | 1.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_trellis-0.1.54-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.1 MB
Release files / django_trellis-0.1.54.tar.gz
| Download URL | django_trellis-0.1.54.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2bae2d67d5e1464d2f288c658ec8a3d5ef1fe6b42a7049714431405846dd759
|
|
BLAKE2b-256 checksum How to use checksums |
a6c17c590d3ea11ee1324c0441a75e441dd565009bcaeb996eb543c4a368fe40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.19
|
Release files / django_trellis-0.1.54-py3-none-any.whl
| Download URL | django_trellis-0.1.54-py3-none-any.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb55b27bde3b361b109a045b12a8e73c35155f8faea193dea380dd52b1cf27a6
|
|
BLAKE2b-256 checksum How to use checksums |
e2036f3a5c1cf991f6b6359be8224e9fc14a6d0b7e15a774331dff8bf5ec540a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.19
|