WTextareaCore

Description:

Props

Name Type Default value Required? Description
value String|Number '' No 輸入文字框值字串或數字,預設''
textFontSize String '1rem' No 輸入文字大小字串,預設'1rem'
textColor String 'black' No 輸入文字顏色字串,預設'black'
textAlign String 'left' No 輸入文字左右對齊字串,預設'left'
placeholder String '' No 輸入無文字時的替代字符字串,預設''
height Number|String null No 輸入高度數字或字串,數字單位為px,若給予非有效值則代表自動更新高度,預設null
editable Boolean true No 輸入是否為編輯模式布林值,預設true
focused Boolean false No 輸入是否為取得焦點狀態,預設false

Props

Name Type Default value Required? Description
value String|Number '' No 輸入文字框值字串或數字,預設''
textFontSize String '1rem' No 輸入文字大小字串,預設'1rem'
textColor String 'black' No 輸入文字顏色字串,預設'black'
textAlign String 'left' No 輸入文字左右對齊字串,預設'left'
placeholder String '' No 輸入無文字時的替代字符字串,預設''
height Number|String null No 輸入高度數字或字串,數字單位為px,若給予非有效值則代表自動更新高度,預設null
editable Boolean true No 輸入是否為編輯模式布林值,預設true
focused Boolean false No 輸入是否為取得焦點狀態,預設false