How to get calculated element width and height in YUI3?
        Posted  
        
            by Jaanus
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Jaanus
        
        
        
        Published on 2010-06-14T18:29:29Z
        Indexed on 
            2010/06/14
            18:32 UTC
        
        
        Read the original article
        Hit count: 365
        
jQuery has handy .height() and .width() utilities to get calculated displayed size of a DOM element. It also has .position() to get coordinates. In YUI3 Node, I see that there are .getX(), .getY() and .getXY() utilities to get position, but I do not see anything for size (or can't look).
What's a good way to get element height and width in YUI3?
© Stack Overflow or respective owner