Hi.
I don't know how to use JQueryUI functions using AMD! I want to make a div Resizable but i don't know how to do that in moodle. This is what I have been testing :
define(['jquery','jqueryui'],
function($, jqui) { //loads dependencies
var functions = {
init : function() {
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! None of this works !!!!!!!!!!!!!!!!!!!!!!!!!
$("#leftside").ui.resizable();
$.ui("#leftside").resizable();
$("#leftsize").resizable();
}
};
return functions;
});