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
14 lines (13 loc) • 391 B
JavaScript
/* eslint-env node */
module.exports = {
name: 'ember-cli-textarea-autosize',
description: '',
normalizeEntityName: function () {},
afterInstall: function (/*options*/) {
return this.addAddonsToProject({
packages: [{ name: 'ember-cli-text-support-mixins', target: '~1' }],
}).then(() => {
return this.addPackagesToProject([{ name: 'autosize' }]);
});
},
};