This addon provides a textarea component, that resizes when the text inside it changes. Additionally it also highlights the given string inside the textarea.
Find the demo and documentation for this addon here.
- Ember.js v3.20 or above
- Ember CLI v3.20 or above
- Node.js v10 or above
ember install @love-open-source/ember-resizable-smart-textarea
To use the smart textarea component in your application, just add the below line.
<ResizableSmartTextarea @value={{this.value}} @highlightText="highlight"/>
Arg | Default value | Description |
---|---|---|
value | '' |
Value of the textarea field |
onChange | Listener function for value change. The first argument to the function would be the value | |
highlightText | '' |
The string to be highlighted inside the textarea |
See the Contributing guide for details.
This project is licensed under the MIT License.