ConsultancyProject1_Auslast.../scraper/public/js/filament/forms/components/textarea.js

2 lines
216 B
JavaScript
Raw Normal View History

2024-06-27 21:38:31 +02:00
function t({initialHeight:e}){return{init:function(){this.render()},render:function(){this.$el.scrollHeight>0&&(this.$el.style.height=e+"rem",this.$el.style.height=this.$el.scrollHeight+"px")}}}export{t as default};