open-vault/ui/app/templates/components/ui-wizard.hbs

20 lines
516 B
Handlebars
Raw Normal View History

2018-08-28 05:03:55 +00:00
<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}}