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

10 lines
284 B
Plaintext
Raw Normal View History

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