Router#

class seamless.components.router.Router#

Inherits from Component.

Methods#

__init__(self, *, loading_component: type[Component] | None = None)#
__init__(self, *routes: Route, loading_component: type[Component] | None = None)
Parameters:
  • loading_component (Component) – The component to show between components loading

  • routes (Route) – The routes to include in the application - can also passed as children of the Router component