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

9 lines
248 B
Plaintext
Raw Normal View History

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