@limetech/lime-web-components-interfaces
Advanced tools
Comparing version 4.39.0 to 4.40.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [4.40.0](https://github.com/Lundalogik/lime-web-components/compare/v4.39.0...v4.40.0) (2022-03-07) | ||
### Features | ||
* **navigation-service:** add optional location params to navigate method ([2005d1d](https://github.com/Lundalogik/lime-web-components/commit/2005d1db143fb88ab4a9f0104aea580dd540c5bf)) | ||
# [4.39.0](https://github.com/Lundalogik/lime-web-components/compare/v4.38.5...v4.39.0) (2022-03-04) | ||
@@ -8,0 +19,0 @@ |
@@ -31,5 +31,18 @@ /** | ||
* @param {string} path path to the location | ||
* @param query query string parameters to append to the URL | ||
*/ | ||
navigate(path: string): void; | ||
navigate(path: string, query?: Location['query']): void; | ||
/** | ||
* Navigate to a new location or update the current location with new data | ||
* | ||
* If no new path is provided, the current history entry will be updated | ||
* with the provided location data. | ||
* | ||
* @emits navigate - When the location has been changed the | ||
* {@link EventDispatcherService} will emit a {@link NavigationEvent} | ||
* | ||
* @param location a new location or parts of the location to replace | ||
*/ | ||
navigate(location: Partial<Location>): void; | ||
/** | ||
* Get the current location | ||
@@ -36,0 +49,0 @@ * |
{ | ||
"name": "@limetech/lime-web-components-interfaces", | ||
"version": "4.39.0", | ||
"version": "4.40.0", | ||
"author": "Lime Technologies", | ||
@@ -33,3 +33,3 @@ "homepage": "https://github.com/Lundalogik/lime-web-components", | ||
}, | ||
"gitHead": "fc167e872c380f408df930ed43e0824fb4abdd8d" | ||
"gitHead": "083ecd20e6422e2c72fc79d22bd41ed2d7a0cae3" | ||
} |
84189
1934