Textarea
The multiline textarea and its variations
The Bulma textarea is the multiline version of the input element. To use a Textarea component in your application, you need to import the BulmaTextareaModule by adding the following lines to your app.module.ts file.
To display the Bulma textarea component in your Angular application, add the buTextarea directive in the <textarea> tag.
| Directive | Description |
|---|---|
buTextarea |
For displaying a textarea element as Bulma textarea |
| Properties | Description |
|---|---|
theme |
Set the theme of the textarea |
size |
Set the size of the textarea |
hovered |
Set the hover state of the textarea, default value is false |
focus |
Set the focus state of the textarea, default value is false |
rounded |
Make the edges rounded, giving the textarea a capsule like shape, default value is false |
Sizes
You can set the size of the textarea using one the 4 size options:
smallnormalmediumlarge
States
- To define the hovered state of the input, set the
hoveredproperty to true. - To define the focused state of the input, set the
focusproperty to true. - To disable the resizing of textarea, set the
fixedproperty to true.
Normal
Hover
Focus
Fixed Size
Themes
You can change the theme of the textarea using one the 8 theme options:
blackdarkprimarylinkinfosuccesswarningdanger