Event JavaScript Tutorial

The width property refers to the width of a window or frame.
It is set during the RESIZE event to the new width of window or frame being resized.


    
    Example of the event.width property
    
    
    
    
    
    Resize browser to see the result