Skip to content

abhishekdev/jquery-getAutosize

Repository files navigation

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>

About

This plugin returns the max dimensions of the DOM element if it were to auto size and helps speculate the size

Resources

License

Stars

Watchers

Forks

Packages

No packages published