How to use the @vaadin/router.Router.go function in @vaadin/router

To help you get started, we’ve selected a few @vaadin/router 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 open-wc / lit-demos / index.js View on Github external
switchRoute(route) {
    this.activeTab = route;
    Router.go(`/${route}`); 
  }

@vaadin/router

Small and powerful client-side router for Web Components. Framework-agnostic.

Apache-2.0
Latest version published 2 years ago

Package Health Score

53 / 100
Full package analysis

Popular @vaadin/router functions