# Interface RouterOptions<T>

#### Type Parameters

- #### T extends Record<string, Route> = Record<string, Route>

#### Hierarchy

- RouterOptions

- Defined in ext/routing.ts:10

#####
Index

### Properties

beforeRemove?
fallbackRoute?
initialRoute
noRouteBuilder?
remove?
rootParent
routes
start?
window?

## Properties

### `Optional` beforeRemove

beforeRemove?: ((route) => boolean | Promise<boolean>)

#### Type declaration

- - (route): boolean | Promise<boolean>

  - #### Parameters

    - ##### route: CTag

    #### Returns boolean | Promise<boolean>

- Defined in ext/routing.ts:21

### `Optional` fallbackRoute

fallbackRoute?: string

- Defined in ext/routing.ts:16

### initialRoute

initialRoute: string

- Defined in ext/routing.ts:15

### `Optional` noRouteBuilder

noRouteBuilder?: RouteBuilder

- Defined in ext/routing.ts:17

### `Optional` remove

remove?: ((route) => boolean | Promise<boolean>)

#### Type declaration

- - (route): boolean | Promise<boolean>

  - #### Parameters

    - ##### route: CTag

    #### Returns boolean | Promise<boolean>

- Defined in ext/routing.ts:20

### rootParent

rootParent: CTag

- Defined in ext/routing.ts:13

### routes

routes: T

- Defined in ext/routing.ts:14

### `Optional` start

start?: ((route) => boolean | Promise<boolean>)

#### Type declaration

- - (route): boolean | Promise<boolean>

  - #### Parameters

    - ##### route: CTag

    #### Returns boolean | Promise<boolean>

- Defined in ext/routing.ts:19

### `Optional` window

window?: Window & typeof globalThis

- Defined in ext/routing.ts:18

Generated using TypeDoc