dojo - How to capture dojox.layout.FloatingPane resize event? -
when floatingpane change size, launch function.
think there resizehandle not know how do.
use dojo 1.8+.
thanks
indeed, have define event handler resize handler of floating pane.
for example:
require(["dojo/on"], function() { var floatingpaneobj = ...; ... floatingpaneobj.startup(); on(floatingpaneobj._resizehandle, "resize", function(e) { // event handler }); });
i made working jsfiddle demonstrate it. http://jsfiddle.net/8azsz/2/
Comments
Post a Comment