Using Blazelayout, we can dynamically change the content of our page. But the result seems static.
I will for example have :
<template name="home">
<h2>Home</h2>
{{> home_description}}
{{> Template.dynamic template=ticket_creation}}
{{> ticket_list}}
</template>
FlowRouter.route('/', {
action() {
BlazeLayout.render('layout', { main: 'home', ticket_creation: 'ticket_proposition'})
}
})
FlowRouter.route('/create/ticket', {
action() {
BlazeLayout.render('layout', { main: 'home', ticket_creation: 'ticket_create_form'}),
}
})
As there is only one component of the page that changes between the two routes, I would like to consider an animated transition, or something like that.
Is it possible ?