open-consul/ui/packages/consul-ui/app/components/outlet/index.hbs

15 lines
362 B
Handlebars

{{did-insert this.connect}}
{{will-destroy this.disconnect}}
<section
class="outlet"
data-outlet={{@name}}
data-route={{this.route}}
data-state={{this.state.name}}
data-transition={{concat this.previousState.name ' ' this.state.name}}
>
{{yield (hash
state=this.state
previousState=this.previousState
route=this.route
)}}
</section>