How to use the framework7-react.AnimationDirectionEnum.Forward function in framework7-react

To help you get started, we’ve selected a few framework7-react examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bencompton / framework7-react / kitchen-sink / utils / RouteState.ts View on Github external
public navigate(path: string, goingBack: boolean) {
        hashHistory.replace(path);
        this.lastNavigationDirection = goingBack ? AnimationDirectionEnum.Back : AnimationDirectionEnum.Forward;
    }
}