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

9 lines
249 B
JavaScript

import computed from 'ember-addons/ember-computed-decorators';
export default Ember.Component.extend({
classNameBindings: [':wizard-step-form', 'customStepClass'],
@computed('step.id')
customStepClass: stepId => `wizard-step-${stepId}`,
});