Skip to content

A drop-in shim to allow you to use existing html5 drag'n'drop code with mobile browsers

License

Notifications You must be signed in to change notification settings

texodus/mobile-drag-drop-shadow-dom

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polyfill for HTML 5 drag'n'drop with Shadow DOM support

npmversion

⚠️ ** This is a fork ** Forked from the excellent timruffles/mobile-drag-drop, which unfortunately does not work with within Shadow DOM. This repository preserves only the compiled output of the original (Typescript) library, incorporating insights from a GitHub Issue re: Shadow DOM support to add Shadow DOM support. It also calls polyfill() directly, removing the public API in favor of an opinionative side-effect. Tested in Chrome, iOS and OSX Safari.

Below acknowledgements preserved from the original README.md

Thanks

To the amazing contributors who've provided massive extensions and fixes to the original.

@rem - who created the original demo used to demo this shim's drop-in nature.

License

MIT License

About

A drop-in shim to allow you to use existing html5 drag'n'drop code with mobile browsers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%