1.0.3 • Published 2 years ago

@love-open-source/ember-resizable-smart-textarea v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@love-open-source/ember-resizable-smart-textarea

Build Status

This addon provides a textarea component, that resizes when the text inside it changes. Additionally it also highlights the given string inside the textarea.

Demo

Find the demo and documentation for this addon here.

Compatibility

  • Ember.js v3.20 or above
  • Ember CLI v3.20 or above
  • Node.js v10 or above

Installation

ember install @love-open-source/ember-resizable-smart-textarea

Usage

To use the smart textarea component in your application, just add the below line.

<ResizableSmartTextarea @value={{this.value}} @highlightText="highlight"/>

Arguments

ArgDefault valueDescription
value''Value of the textarea field
onChangeListener function for value change. The first argument to the function would be the value
highlightText''The string to be highlighted inside the textarea

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.