![]() stroy( document.querySelectorAll( 'textarea')) ![]() Removes Autosize and reverts any changes it made to the textarea element. Init var ta = document.querySelector( 'textarea') There is no efficient way for Autosize to monitor for when another script has changed the textarea value or for changes in layout that impact the textarea element. Autosize will automatically adjust the textarea height on keyboard and window resize events. Triggers the height adjustment for an assigned textarea element. from a NodeListĪutosize( document.querySelectorAll( 'textarea')) Īutosize( document.querySelector( 'textarea')) The autosize function accepts a single textarea element, or an array or array-like object (such as a NodeList or jQuery collection) of textarea elements. Released under the MIT License, source on Github ( changelog)ĭownload Install via NPM npm install autosize ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |