Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 17:30:29 +01:00
10 Zeilen
300 B
Text
10 Zeilen
300 B
Text
|
import Component from "@ember/component";
|
||
|
import discourseComputed from "discourse-common/utils/decorators";
|
||
|
|
||
|
export default Component.extend({
|
||
|
classNameBindings: [":wizard-step-form", "customStepClass"],
|
||
|
|
||
|
@discourseComputed("step.id")
|
||
|
customStepClass: (stepId) => `wizard-step-${stepId}`,
|
||
|
});
|