How to use jQuery UI inside ionic

Hi guys,

I need to use jQuery UI for drag & dropping and directly cloning an item.
I already included jquery in my project as

import * as $ from 'jquery'

So jQuery is working.
I installed jQuery UI & touchpunch with npm.

But how further? I can’t use the droppable/draggable functionality inside my project because the jquery ui is not loaded by default inside jquery them self.

And also what I’ve to do for my typings?

Thanks in advance

Mixing Ionic (and so Angular) with jQuery, especially jQuery UI, is not a good idea. I would advise you to forget this idea and create a new topic on how you can solve your problem (" drag & dropping and directly cloning an item") with Angular or Ionic libraries.

1 Like