Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以访问被拖过的元素(不是 Dragula 包)?
我正在使用 Ng2-Dragula。
我目前正在使用内置函数,但是除了包之外,没有任何悬停在上面的元素的参数。
this.dragulaService.over.subscribe((value:any) => { this.onOver(value); }); private onOver(args:any) { let [bag, element, target, source, smth] = args; }