This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/components/composer-text-area.js.es6
2015-07-13 16:36:38 -04:00

16 lines
436 B
JavaScript

export default Ember.TextArea.extend({
classNameBindings: [':wmd-input'],
placeholder: function() {
return I18n.t('composer.reply_placeholder');
}.property('placeholderKey'),
_signalParentInsert: function() {
this.get('parentView').childDidInsertElement(this);
}.on('didInsertElement'),
_signalParentDestroy: function() {
this.get('parentView').childWillDestroyElement(this);
}.on('willDestroyElement')
});