vanilla-ui-router
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "vanilla-ui-router", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Simple vanilla JavaScript router", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/micromata/vanilla-ui-router", |
@@ -104,2 +104,9 @@ [![npm version](https://badge.fury.io/js/vanilla-ui-router.svg)](http://badge.fury.io/js/vanilla-ui-router) | ||
}) | ||
.addRoute('route-with-dispose', { | ||
routeHandler: () => {}, | ||
dispose: () => { | ||
// Is called before navigating to another route to do some cleanup if needed. | ||
} | ||
}) | ||
@@ -106,0 +113,0 @@ .otherwise(() => { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26725
123