How to create a flow page login

Hello, I’m Brazilian so I’m sorry the bad english. I’m trying to create the flow of a login page using Parse.js. I could log in using parse but not understand how to use the paging after a successful login. Can someone help me?

Hi!

You can databind the Active property on your navigation and then change the value in JS when you log in:

Here is some pseudo code:

JS:

var activePage = Observable("loginPage");


function onSuccessfulLogin(){
    activePage.value = "welcomePage";
}

UX:

<Panel>
    <LinearNavigation Active="{activePage}"/>
    <Page Name="loginPage">
        <!-- your login page -->
    </Page>

    <Page Name="welcomePage">
        <!-- your welcome page -->
    </Page>
</Panel>

The following links might be helpfull: Navigation: https://www.fusetools.com/learn/fuse#navigation Data-binding: https://www.fusetools.com/learn/fuse#data-binding

I hope this helps, and sorry for the slow response.

Thank you very much for your help Kristian. But I have another question, how can I pass page values in the case of a sidebar?