# Textarea

<textarea
	placeholder="Type something..."
	x-data="{resize: () { resize() => { $el.style.height = '40px'; $el.style.height = $el.scrollheight + 'px' }}"
	x-init="resize"
	x-on:input="resize"
></textarea>
Last Updated: 3/11/2022, 09:28:06