Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<vaadin-router> JS API (basic functionality) #52

Closed
vlukashov opened this issue Apr 25, 2018 · 1 comment
Closed

<vaadin-router> JS API (basic functionality) #52

vlukashov opened this issue Apr 25, 2018 · 1 comment

Comments

@vlukashov
Copy link
Contributor

vlukashov commented Apr 25, 2018

As a developer I want to display different content on the page depending on the current URL. As a Polymer developer I want to do that with HTML markup, but I also want to interact with the router via a JS API.

DoD:

  • the <vaadin-router> JS API allows
    -- adding / removing routes
    -- getting / setting the entire routes config
    -- getting / setting the router options
    -- triggering the router to re-render
  • the <vaadin-router> JS API can be combined with its DOM API. e.g. the routes defined in the DOM are included into the list returned by the getRoutes() method
  • add 2 demos
    -- basic <vaadin-router> JS API usage
    -- a combination of the JS API and DOM API

The common DoD applies.

@vlukashov
Copy link
Contributor Author

Won't fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant