Capítulo 218 de 411

Chapter 218: Draggable.rotation

Core Idea

Read-only; for type: "rotation" Draggables, the current rotation in degrees, updated live during drag and during the post-release momentum tween.

Key Takeaways

  1. If something outside Draggable changes the element's rotation directly, call update() to resynchronize Draggable's internal state with the real DOM value.

Connects To

  • Draggable.update(): resyncs Draggable's internal tracking with the element's actual current transform.