discourse/app/assets/javascripts/wizard/components/wizard-step-form.js.es6

10 lines
297 B
Plaintext
Raw Normal View History

import Component from "@ember/component";
import discourseComputed from "discourse-common/utils/decorators";
2016-08-26 01:14:56 +08:00
export default Component.extend({
2018-06-15 23:03:24 +08:00
classNameBindings: [":wizard-step-form", "customStepClass"],
2016-08-26 01:14:56 +08:00
@discourseComputed("step.id")
2018-07-30 23:56:48 +08:00
customStepClass: stepId => `wizard-step-${stepId}`
2016-08-26 01:14:56 +08:00
});