The b.Textarea
constructor creates a text area.
Modifier | Action |
---|
b.Rows(int) | Set the text area height, in number of rows |
b.Hovered | Apply the hovered style |
b.Focused | Apply the focused style |
b.Loading | Add a loading spinner to the right of the text area |
b.Disabled | Disable the text area |
e.ReadOnly() | Read only text area |
b.FixedSize | Disable the text area resizing capability |
b.Primary | Set color to primary |
b.Link | Set color to link |
b.Info | Set color to info |
b.Success | Set color to success |
b.Warning | Set color to warning |
b.Danger | Set color to danger |
b.Small | Set size to small |
b.Normal | Set size to normal |
b.Medium | Set size to medium |
b.Large | Set size to large |
Child | Action |
---|
b.OnTextarea(...any) | Apply children to the <textarea> element - only useful with the b.Disabled modifier if you want to apply the is-disabled class to the text area instead of using the disabled attribute |