Axon 911 Frontend Docs
    Loading navigation…
U
User
Switch to light mode
  1. Components
  2. Drag Source
  3. API and Development

DragSource

API

View SourceOpens in a new tabSubmit IssueOpens in a new tab
See packages/ui/src/components/drag-source/docs/api.md in the repository for the full prop tables. DragSource accepts as (div | li), dragging, disabled, dragAttributes, dragListeners, ref, id, and data-* attributes. It excludes className and style. When disabled is true, dragAttributes focus semantics are not applied and aria-disabled is set only when dragAttributes had role. DragPreview accepts children and renders data-dragging on a div with floating elevation tokens.
Previous
DragSource / Accessibility
Next
Drawer / Usage