【发布时间】:2017-02-25 13:31:16
【问题描述】:
this.$container.find('[data-uk-sortable]').on('stop.uk.sortable', function(e, el, type){
//type is null here
}
this.$container.on('stop.uk.sortable', '[data-uk-sortable]', function(e, el, type){
//type is null here
}
UIKit 网站上的文档说它应该可用,我还在网上找到了许多示例表明它应该可用,但事实并非如此。
https://getuikit.com/v2/docs/sortable.html
还有其他方法可以获取被拖动的元素吗?
【问题讨论】:
标签: javascript event-handling uikit dom-events jquery-ui-sortable