Skip to main content

Module router

Module router 

Source
Expand description

Browser router with History API integration.

Provides navigation and URL management for single-page applications.

§Example

use presentar::browser::router::BrowserRouter;

let router = BrowserRouter::new();
router.navigate("/dashboard");

Structs§

BrowserRouter
Browser router that uses the History API.
RouteMatch
Route matching result.
RouteMatcher
Pattern-based route matcher.