Struct sycamore_router::HistoryIntegration[][src]

pub struct HistoryIntegration { /* fields omitted */ }
Expand description

A router integration that uses the HTML5 History API to keep the UI in sync with the URL.

Implementations

Create a new HistoryIntegration.

Trait Implementations

Returns the “default value” for a type. Read more

Get the current pathname.

Add a callback for listening to the popstate event.

Get the click handler that is run when links are clicked.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.