Ghost/ghost/admin/app/components/feedback-lexical/post-complete-form.js
2023-05-17 09:21:48 +04:00

18 lines
433 B
JavaScript

import Component from '@glimmer/component';
import {action} from '@ember/object';
import {tracked} from '@glimmer/tracking';
export default class FeedbackLexicalPostCompleteFormComponent extends Component {
@tracked feedbackMessage = '';
@action
updateFeedbackMessage(event) {
this.feedbackMessage = event.target.value;
}
@action
resetFeedbackMessage() {
this.feedbackMessage = '';
}
}