I have a div with id "panelContent", I want to resize the div, my current dojo program can move a div i also want to resize it, can anyone help me out.
Thanks in Advance.
Javascript code :
require(["dojo/dnd/Moveable", "dojo/dom", "dojo/on", "dojo/domReady!"],
function(Moveable, dom, on){
var dnd = new Moveable(dom.byId("panelContent"));
});
`
This can be achieved by using the dojo ResizeHandler , so the setps to use it are :
import the
dojox/layout/ResizeHandleImport the resize hander Css Style ( for rendering and resize icon )
set your resizable div poristion to relative
so the instantiation would be like :
you can find bellow a working snippet