Interface IRouteInfo

Parameters to the map function. or information on route url patterns, see the SammyJS documentation. But basically, you can have simple routes my/route/, parameterized routes customers/:id or Regex routes. If you have a parameter in your route, then the activation data passed to your module's activate function will have a property for every parameter in the route (rather than the splat array, which is only present for automapped routes).

Index

Properties

Properties

public caption: string

used to set the document title

public hash: string

optional public isActive?: KnockoutComputed

only present on visible routes to track if they are active in the nav

public moduleId: string

public name: string

public settings: Object

public url: string

public visible: boolean

determines whether or not to include it in the router's visibleRoutes array for easy navigation UI binding