0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-12 21:22:54 +01:00
discourse-custom-wizard/assets/javascripts/discourse/components/wizard-notice-row.js.es6
angusmcleod 81bb7e56c2 WIP
2021-11-17 20:26:44 +08:00

14 Zeilen
Kein EOL
407 B
JavaScript

import Component from "@ember/component";
import NoticeMessage from "../mixins/notice-message";
export default Component.extend(NoticeMessage, {
tagName: "tr",
attributeBindings: ["notice.id:data-notice-id"],
classNameBindings: [":wizard-notice-row", "notice.typeClass", "notice.expired:expired", "notice.dismissed:dismissed"],
actions: {
dismiss() {
this.notice.dismiss();
}
}
});