Im trying to add drag and drop into my ionic 2 app. But can't get it to work.
This is what I have done so far:
npm install ng2-dragula dragula --save
then in my page:
@Component({
templateUrl: 'build/pages/dragtest/dragtest.html',
directives: [Dragula],
viewProviders: [DragulaService],
})
export class DragtestPage {
constructor(private nav: NavController) {
}
}
But when I add [dragula] tags, I get error: Can't bind 'dragula' since it isn't a know native property.
Did any one get this to work with ionic 2, are there any examples?