I am trying to prevent the default drag and drop feature across an ember application. I have tried using the drop events and event.preventDefault()
in the controller, but I am pretty sure they are only available in components. I also tried adding ondragstart="return false;" ondragenter="return false;" ondrop="return false;" dragover="return false;" dragleave="return false;"
to the body tag in index html. What is the proper way to handle this?
mercredi 7 décembre 2016
Prevent drag and drop default across ember application
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire