UNPKG

ember-cli-textarea-autosize

Version:

An Ember addon that provides a textarea component that adjusts its height according to the supplied text. Included are also several mixins that can be used to ensure `autofocus` works properly, focused text inputs have their text selected, and ctrl+enter

7 lines (5 loc) 209 B
import AutosizeMixin from '../mixins/autosize'; import TextArea from 'ember-cli-text-support-mixins/components/text-area'; export default TextArea.extend(AutosizeMixin, { 'ctrlEnterSubmitsForm?': true, });