|Views Total:||170 views|
|Official Page:||Go to website|
|Last Update:||July 30, 2018|
How to use it:
Just include the minified version of stretchy in your document and done.
<script src="stretchy.min.js" async></script>
// Autosize one element based on its content. Stretchy.resize(element) // Apply Stretchy.resize() to a collection of elements, or all Stretchy is set to apply to, if no argument is provided. Stretchy.resizeAll(elements) // Can Stretchy be used on this particular element? (checks if element is in the DOM, if it's of the right type and if it matches the selector filter provided by data-stretchy-selector, if the attribute is set. Stretchy.resizes() // Set to false to temporarily disable Stretchy. Stretchy.active