Jquery UI - draggable function


#1

I’m trying to use draggable function from jquery ui library.

Steps:

1- npm install jquery
2- npm install jquery-ui
3 - npm install @types/jqueryui

4-

import $ from 'jquery';
//import "jqueryui"
//import "jquery-ui"

I’m using visual code, the editor says the the method exists

ERROR:
28


#2
@mhartington

#3

Hi there!

So we strongly suggest you dont include Jquery in your app, as it adds a lot of weight and can be verry slow.
Alternatively, you can use this third-party component which is better suited for Typescript/Angular apps


#4

Hey @mhartington !
I actually tried to use dragula but i couldn’t make it work with full calendar.
We are building a web system using ionic, not a app, I’m tryng to reproduce the following example:
https://fullcalendar.io/js/fullcalendar-3.5.1/demos/external-dragging.html

So i really need to use Jquery Ui, it’s been a while i’m in this.