Files
discourse/app/assets/javascripts/discourse/components/composer-text-area.js.es6
2014-06-03 10:33:47 -04:00

15 lines
411 B
JavaScript

export default Ember.TextArea.extend({
placeholder: function() {
return I18n.t(this.get('placeholderKey'));
}.property('placeholderKey'),
_signalParentInsert: function() {
return this.get('parentView').childDidInsertElement(this);
}.on('didInsertElement'),
_signalParentDestroy: function() {
return this.get('parentView').childWillDestroyElement(this);
}.on('willDestroyElement')
});