20 Commits

Author SHA1 Message Date
0ebd6d1ab4 Cleaned up code and fixed a bug where parameters were not taking into consideration with routes that are not root based. 2023-07-09 22:24:33 -07:00
ad6faba71d Added code to prevent click event from bubbling since we are navigating to another route. Router state is now initialized with current location to make going back work correctly. 2023-02-01 08:06:38 -08:00
6fed40f37b Added a new disabled property for RouterLinks to override their functionality if needed. 2022-12-17 10:14:06 -08:00
6a21111c3d Route now is hidden by default so it doesn't open/close on render. 2022-10-27 08:30:19 -07:00
02e728de0e Instead of calling update during the ignite template construction, it will be called during ready so that we are not in a rendering context when it is invoked. 2022-10-24 08:40:30 -07:00
3a16c62b92 Upgraded to new IgniteHtml register element. 2022-08-26 08:36:21 -07:00
ce6f5efc38 Added removeParameter function that can remove a query parameter from the route. 2022-05-04 09:03:47 -07:00
41815a680d Added keepQuery option to router navigate. 2022-04-22 00:43:36 -07:00
0cdf431aa0 Added IgniteTemplate navigate function to allow dynamic routing based on properties or quickly set up routing. 2021-12-28 22:33:36 -08:00
ecc2711d64 Added route to onShown callback so that UI can be changed based on what route was shown. 2021-12-13 16:49:33 -08:00
ca243e9b67 Added important to route display state to force a route to not be visible. 2021-12-06 09:27:23 -08:00
aac9b6d59a Added better support for query parameters in hash mode. 2021-11-25 12:42:21 -08:00
6701c19956 Added a managed pop state listener to the route extension so that back events are handled correctly. 2021-11-11 11:43:10 -08:00
271e6e41fa Fixed an issue where in hash mode if a route started with / it would break the navigation. 2021-10-13 07:47:11 -07:00
0ea44c76b9 Modifying the route extension to have a show and hide callback. 2021-08-25 00:01:10 -07:00
783a87da82 Router now supports variables in routes and route template. 2021-08-24 13:40:29 -07:00
b6d288f422 Added more docs. Router now has a data option that is passed with the event. Added route extension to help other templates react to route events. 2021-08-11 10:45:06 -07:00
020e6a3ae8 Router navigate now uses it's own internal state array. Router now has a back function which allows going backwards on different platforms. 2021-07-28 08:40:52 -07:00
9bee6456cb RouterMatcher is now Router. Added navigate. Added hash mode. 2021-05-19 10:28:07 -07:00
12916f008c Renamed js file to ignite-html-router.js 2021-05-04 14:25:41 -07:00