Skip to content

v0.3.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@web-padawan web-padawan released this 20 Jun 08:07
74d2095

New Features

  • Nested components: allow reusing a common parent layout as a wrapper, having a <slot> tags to render the child components into, as a light DOM children
  • Animated transitions: support the animate property on the route config, and setting the CSS classes to trigger the @keyframes animation when switching between different routes
  • Added onAfterLeave lifecycle callback, allowing to execute some logic right before the route component is disconnected from the DOM, without being able to cancel it
  • Added the Router.go() method, allowing to trigger navigation programmatically
  • Added vaadin-router-route-changed and vaadin-router-error events

Bug Fixes

  • Fixed the silent failure issue when Router is initialised but not configured
  • Fixed the redirect issue, previously it was not possible to go back when coming from external URL
  • Fixed the missing source maps for the minified UMD bundle

Changes Since v0.2.1: