Documentation

Plugins/dimensions/outerWidth

From jQuery JavaScript Library

Jump to: navigation, search

« Back to Plugins/dimensions

outerWidth[options] )

Gets the outer width (includes the border and padding by default) for the first matched element.
This method works for both visible and hidden elements. The margin can be included by passing an options map with margin set to true.
Arguments:
options (Optional)Options
A set of key/value pairs that configure the outerWidth method. All options are optional.


Options:

NameType
marginBooleanDefault: false
When set to true the margin of the element will be included in the calculations.