npm.io
1.0.3 • Published 8 years ago

jquery.ad-getautosize

Licence
MIT
Version
1.0.3
Deps
0
Size
339 kB
Vulns
0
Weekly
0

jQuery getAutosize Plugin

Returns the max dimensions of the DOM element if it were to auto size.

Getting Started

Download the production version or the development version.

In your web page:

<script src="jquery.js"></script>
<script src="dist/jquery.ad-getautosize.min.js"></script>
<script>
jQuery(function($) {
  var elementSize = $([selector]).getautosize(); // "{width:number,height:number}"
});
</script>