GalleryDragScripts class
Opt-in pointer and keyboard repositioning for draggable Arcane gallery tiles.
The behavior is activated only for
[data-arcane-gallery-draggable="true"] surfaces. Pointer drags start from
renderer-owned handles, cross a click-safe threshold, remain clamped to the
gallery, and suppress the link click that follows a completed drag. Focused
tiles can be moved with Shift+Arrow and announce the result to assistive
technology.
Galleries rendered under the Windows 95 theme drag in the period-correct
OUTLINE mode instead: a single wireframe rectangle tracks the pointer while
the tile stays put, the move commits on release, and the press marks the
grabbed tile active (data-w95-active) so the theme can flip its caption.
Every other theme keeps the live full-content translate unchanged.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited