You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
DoD:
the <vaadin-router> DOM API allows creating a router with a default router outlet, and setting a routes config with <vaadin-route> elements.
The route contents can be defined by a 'component' property on a <vaadin-route> element.
The route content can be defined by a <template> child of a <vaadin-route> element.
Changes to the DOM are handled and trigger a re-render if necessary:
-- changes to the 'path' and / or 'component' properties / attributes
-- adding / removing the child <template> element to a <vaadin-route>
-- adding / removing child <vaadin-route> elements to a <vaadin-router>
add a demo for basic <vaadin-router> DOM API usage
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.
DoD:
<vaadin-router>
DOM API allows creating a router with a default router outlet, and setting a routes config with<vaadin-route>
elements.<vaadin-route>
element.<template>
child of a<vaadin-route>
element.-- changes to the 'path' and / or 'component' properties / attributes
-- adding / removing the child
<template>
element to a<vaadin-route>
-- adding / removing child
<vaadin-route>
elements to a<vaadin-router>
<vaadin-router>
DOM API usageThe common DoD applies.
The text was updated successfully, but these errors were encountered: