1.0.3 • Published 6 years ago

jquery.ad-getautosize v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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>