Hi David,

would it be possible to have MResizer fire resize events?

I'm thinking of being able to write code like:

myWindow = addEventListener('resize', function(e) {
    var data = e.getData();

    alert('old width: ' + data.oldWidth);
    alert('new width: ' + data.newWidth);
    alert('old height:' + data.oldHeight);
    alert('new height:' + data.newHeight);
    alert('direction:' + data.direction); // would be one of n, e, s, w, 
ne, nw, se, sw
}

Regards.

dperez schrieb:
> Hi,
>
> This is my 1st mixin:
>
> New mixin MResizer, that unifies the resizing behavior of Window and
> Resizer.
> I've checked it works.
>
> Sebastian, if you like, I will comment it a little more.
>
> Regards,
> David
>   

-- 
Mit freundlichen Grüßen
Dietrich Streifert
--
Visionet GmbH
Firmensitz: Am Weichselgarten 7, 91058 Erlangen
Registergericht: Handelsregister Fürth, HRB 6573
Geschäftsführer: Stefan Lindner




-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to