Header menu logo Navs

FuncUIRouter Type

A router that is specialized to work with Avalonia.FuncUI types. This router will render any object that implements the IView interface.

Constructors

Constructor Description

FuncUIRouter(routes, ?splash)

Full Usage: FuncUIRouter(routes, ?splash)

Parameters:
    routes : RouteDefinition<IView> seq - The routes that the router will use to match the URL and render the view
    ?splash : Func<IView> - The router initially doesn't have a view to render. You can provide this function to supply a splash-like (like mobile devices initial screen) view to render while you trigger the first navigation.

Returns: FuncUIRouter
routes : RouteDefinition<IView> seq

The routes that the router will use to match the URL and render the view

?splash : Func<IView>

The router initially doesn't have a view to render. You can provide this function to supply a splash-like (like mobile devices initial screen) view to render while you trigger the first navigation.

Returns: FuncUIRouter

Type something to start searching.