RouteOptions.title
property · packages/site/src/index.ts:98
readonly title?: ((route: Route) => string) | undefinedSite / foldkit-site
interface · packages/site/src/index.ts:97
interface RouteOptions<
Route extends {
readonly _tag: string
},
> {
readonly title?: ((route: Route) => string) | undefined
readonly section?: string | undefined
readonly landing?: Omit<Route, '_tag'> | undefined
readonly shortcut?: KeySequence | undefined
readonly history?:
HistoryIntent | ((prev: Route, next: Route) => HistoryIntent) | undefined
readonly layout?: NodeLayout | undefined
readonly view?: NodeView | undefined
readonly meta?: NodeMeta<Route> | undefined
readonly indexed?: boolean | undefined
readonly access?: NodeAccess<never> | undefined
}What Site.route annotates a node with, beside its Surface.
RouteOptions.titleproperty · packages/site/src/index.ts:98
readonly title?: ((route: Route) => string) | undefinedRouteOptions.sectionproperty · packages/site/src/index.ts:99
readonly section?: string | undefinedRouteOptions.landingproperty · packages/site/src/index.ts:100
readonly landing?: Omit<Route, '_tag'> | undefinedRouteOptions.shortcutproperty · packages/site/src/index.ts:101
readonly shortcut?: KeySequence | undefinedRouteOptions.historyproperty · packages/site/src/index.ts:102
readonly history?:
HistoryIntent | ((prev: Route, next: Route) => HistoryIntent) | undefinedRouteOptions.layoutproperty · packages/site/src/index.ts:103
readonly layout?: NodeLayout | undefinedRouteOptions.viewproperty · packages/site/src/index.ts:104
readonly view?: NodeView | undefinedRouteOptions.metaproperty · packages/site/src/index.ts:105
readonly meta?: NodeMeta<Route> | undefinedRouteOptions.indexedproperty · packages/site/src/index.ts:106
readonly indexed?: boolean | undefinedRouteOptions.accessproperty · packages/site/src/index.ts:107
readonly access?: NodeAccess<never> | undefined