Textarea
form
Multiline text input field.
form
Multiline text input field.
| Example | |
| HTML code | <TEXTAREA name="textarea" placeholder="Textarea value" class="justified" /></TEXTAREA> |
| Type | atom |
| Group | form |
| Todo | CSS colors, sizes Auto increasing |
Wrapper to use element through PHP
| Extends | eUiElementHidden |
| Render | html |
| Create arguments | name, value |
| Code example | $Textarea = $this->get('ui', 'textarea', Array(
'name' => 'name',
'value' => 'Value',
'placeholder' => 'Example text',
'style' => 'justified',
'width' => 'width',
'height' => 'height',
'tooltip' => 'Enter text here'
)); |
Wrapper to use element through Javascript
| Code example | var $Textarea = cms.get('ui', 'textarea', {
name: 'name',
value: 'Value',
placeholder: 'Example text',
style: 'justified',
width: 100,
height: 100,
tooltip: 'Tooltip',
}); |
Elements Css style
| justified | Justified |
| note | Note |
| condensed | Condensed |
| azure | Azure |
| blue | Blue |
| violet | Violet |
| purple | Purple |
| pink | Pink |
| red | Red |
| brown | Brown |
| orange | Orange |
| yellow | Yellow |
| green | Green |
| darkgreen | Darkgreen |
| white | White |
| lightgray | Lightgray |
| gray | Gray |
| darkgray | Darkgray |
| black | Black |
| success | Success |
| warning | Warning |
| danger | Danger |
| error | Error |
| info | Info |
| muted | Muted |
| selected | Selected |
| save | Save |
| delete | Delete |
| load | Load |
| cancel | Cancel |