dragula filter April 13, 2023 by wordlinkanswers Home - Q & A - dragula filter dragula filter Comment 0 // change dagrula.provider.ts:<br /> drake.on(‘drag’, (el: any, source: any) => {<br /> dragElm = el;<br /> dragIndex = (el.getAttribute(‘filter-index’)) ? +el.getAttribute(‘filter-index’) : this.domIndexOf(el, source);<br /> });</p> <p>HTML:<br /> <div [dragula]=’dragType’ [dragulaModel]=’arraylist’><br /> <div *ngFor=”let item of arraylist” [attr.filter-index]=”arraylist.indexOf(item)”><br /> <!– HTML here –><br /> </div><br /> </div><br /> Popularity 2/10 Helpfulness 1/10 Language javascript Source: github.com Tags: dragula filter javascript Share Link to this answer Share Contributed on Feb 26 2020 2 Programmers 1 Bug 0 Answers Avg Quality 2/10 wordlinkanswers