mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 17:13:25 +08:00
15 lines
411 B
JavaScript
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')
|
|
});
|
|
|