**This is a fork of [@designable/core](https://github.com/alibaba/designable) with iPad touch support.**
npm install @jacksonli2002/designable-coreThis is a fork of @designable/core with iPad touch support.
- 🎯 iPad Touch Drag & Drop Support - Full support for touch events on iPad and other touch devices
- 📱 Touch Event Handling - Proper touch coordinate extraction using elementFromPoint for accurate target detection
- 🎨 Visual Feedback - Ghost widget and insertion indicators work correctly with touch interactions
- 🔄 Backward Compatible - All existing mouse-based functionality remains unchanged
``bash`
npm install @jacksonli2002/designable-coreor
yarn add @jacksonli2002/designable-core
Use it exactly like the original @designable/core:
`typescript`
import { Engine } from '@jacksonli2002/designable-core'
// All APIs are the same as the original package
Based on version 1.0.0-beta.45, with the following modifications:
- Modified src/drivers/DragDropDriver.ts to add touch event support (touchstart, touchmove, touchend, touchcancel)getEventCoordinates
- Enhanced method to properly handle touch eventsdocument.elementFromPoint()` for accurate target detection during touch drag operations
- Added
Designable's core models, effects, events, drivers
Original repository: https://github.com/alibaba/designable