Hi Jean-Noel,

Prototype's visible() method looks very simple:

visible: function(element) {
   return $(element).style.display != 'none';
}

In qooxdoo, you could use qx.bom.element.Style.get() to check if 
"display" isn't set to "none". Additionally, you could check if 
qx.bom.element.Dimension.getHeight() and getWidth() return values 
greater than 0.


Regards,
Daniel

Jean-Noël Rivasseau schrieb:
> Pretty much everything is in the title, I am looking for a Qx function 
> that checks if a given DOM element is currently visible on the page.
> 
> According to 
> http://qooxdoo.org/documentation/general/library_features/dom, no 
> replacement is listed, how would I do that then?
> 
> Jean-Noel
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to