| FoxitPDFSDKforWeb v11.1.0 Archives Foxit PDF SDK for Web

List of all members
RearrangeManager Class Reference
Inheritance diagram for RearrangeManager:

## Additional Inherited Members
Public Member Functions inherited from Disposable
| addDestroyHook (...hooks)
| Add a function to destroyHooks list, which will be called during destroy. More...
| destroy ()
| ownsTo (owner)
| Establishes an ownership relationship where this instance will be destroyed when the owner is destroyed. Additionally, the owner will be automatically removed from the destroyHooks list when this instance is destroyed. More...

## Detailed Description

The RearrangeManager class is used to implement drag-and-drop and reordering functionality for thumbnails. This class now uses a strategy pattern to separate native drag events implementation from pointer-based implementation.

- For browsers that support drag events: uses NativeDragStrategy (based on HTML5 drag events)
- For browsers that don't support drag events well: uses PointerDragStrategy (based on pointer events + custom shadow element)

This design makes the code more maintainable and testable by separating the two different drag implementations.

@2026 Foxit Software Incorporated. All rights reserved.