File manager - Edit - /snap/lxd/40115/share/lxd-ui/assets/AutoExpandingTextArea-38ef4775.js
Back
import{r as x,j as i,d as c}from"./index-3c1b2661.js";const l=e=>{const{dynamicHeight:s,id:o,value:r,rows:a}=e;return x.useLayoutEffect(()=>{if(s){const t=document.getElementById(o||"");if(t){t.style.height="0px";const n=t.scrollHeight;t.style.height=`${n+1}px`}}},[r]),i.jsx("div",{children:i.jsx(c.Textarea,{...e,rows:s?void 0:a})})};export{l as A};
| ver. 1.4 |
Github
|
.
| PHP 8.2.9 | Generation time: 0.07 |
proxy
|
phpinfo
|
Settings