Acts just like a normal Ember
{{outlet}}
, except:
view
option to override its view class.
It otherwise does everything
{{outlet}}
does,
including named outlets (like
<LiquidOutlet @inputOutletName="sidebar" />
).
Use this when you want to animate the transitions between routes.
Notice that the URL changes when you click the links — these are real route transitions.
<LiquidOutlet @class="demo-container" />
this.transition(
this.fromRoute('helpers-documentation.liquid-outlet.index'),
this.toRoute('helpers-documentation.liquid-outlet.other'),
this.use('toLeft'),
this.reverse('toRight'),
);