open-vault/ui/app/templates/components/ui-wizard.hbs
2018-08-28 00:03:55 -05:00

20 lines
516 B
Handlebars

<div class="app-content {{if (and shouldRender featureComponent) "wizard-open"}}">
{{yield}}
</div>
{{#component
(if shouldRender tutorialComponent)
onAdvance=(action "advanceWizard")
onDismiss=(action "dismissWizard")
}}
{{component
featureComponent
componentState=componentState
nextFeature=nextFeature
nextStep=nextStep
onDone=(action "finishFeature")
onRepeat=(action "repeatStep")
onReset=(action "resetFeature")
onAdvance=(action "advanceFeature")
}}
{{/component}}