- @lion/ajax@0.2.7 - @lion/button@0.5.9 - @lion/calendar@0.6.13 - @lion/checkbox-group@0.8.3 - @lion/choice-input@0.7.5 - @lion/core@0.4.5 - @lion/dialog@0.4.8 - @lion/field@0.11.3 - @lion/fieldset@0.9.3 - @lion/form-system@0.6.3 - @lion/form@0.4.18 - @lion/helpers@0.3.3 - @lion/icon@0.4.1 - @lion/input-amount@0.5.18 - @lion/input-date@0.5.18 - @lion/input-datepicker@0.10.0 - @lion/input-email@0.6.3 - @lion/input-iban@0.6.3 - @lion/input-range@0.2.18 - @lion/input@0.5.18 - @lion/localize@0.8.10 - @lion/overlays@0.12.4 - @lion/radio-group@0.8.3 - @lion/select-rich@0.12.0 - @lion/select@0.5.18 - @lion/steps@0.3.6 - @lion/switch@0.7.0 - @lion/tabs@0.2.6 - @lion/textarea@0.5.19 - @lion/tooltip@0.8.4 - @lion/validate@0.8.0 |
||
|---|---|---|
| .. | ||
| src | ||
| stories | ||
| test | ||
| CHANGELOG.md | ||
| index.js | ||
| lion-textarea.js | ||
| package.json | ||
| README.md | ||
Textarea
lion-textarea component is a webcomponent that enhances the functionality of the native <input type="textarea"> element.
Its purpose is to provide a way for users to write text that is multiple lines long.
Live Demo/Documentation
See our storybook for a live demo and API documentation
How to use
Installation
npm i --save @lion/textarea
import '@lion/textarea/lion-textarea.js';
Example
<lion-textarea label="Stops growing after 4 rows" max-rows="4"></lion-textarea>