但是,,我不知道在 ng2-dragula中怎么可能。我在onDrop中暗示了这一点。this.dragulaService.cancel; also tried but did not work 以下是html代码:
<div id="toPlay" class="playBox roundedBox" [dragula<img class="w3-animate-top" [src]="drum_path" alt="drum"
使用Dragula库拖放块是必要的。使用的是库版本1.5.0。我收到错误Angular: Can't bind to 'dragula' since it isn't a known property of 'div'.。如何实现块拖动?shared.module.ts:@NgModule({
declarations: