class method document.viewport.getWidth
document.viewport.getWidth() → Number
Returns the width of the viewport.
Equivalent to calling document.viewport.getDimensions().width
.
document.viewport.getWidth() → Number
Returns the width of the viewport.
Equivalent to calling document.viewport.getDimensions().width
.