Skip to content

Instantly share code, notes, and snippets.

@rcorreia
rcorreia / drag_and_drop_helper.js
Last active August 19, 2024 05:20
drag_and_drop_helper.js
(function( $ ) {
$.fn.simulateDragDrop = function(options) {
return this.each(function() {
new $.simulateDragDrop(this, options);
});
};
$.simulateDragDrop = function(elem, options) {
this.options = options;
this.simulateEvent(elem, options);
};
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.js"></script>
<div id="results">
<h3>Display results here from VUE</h3>
<!-- Angel, work in here -->
</div>
<script>
// QUICK GOOGLE SPREADSHEET QUERY