Interface IRouteInfoParameters

Parameters to the map function. e only required parameter is url the rest can be derived. The derivation happens by stripping parameters from the url and casing where appropriate. You can always explicitly provide url, name, moduleId, caption, settings, hash and visible. In 99% of situations, you should not need to provide hash; it's just there to simplify databinding for you. Most of the time you may want to teach the router how to properly derive the moduleId and name based on a url. If you want to do that, overwrite.

Index

Properties

Properties

optional public caption?: string

used to set the document title

optional public moduleId?: string

if not supplied, router.convertRouteToName derives it

optional public name?: string

if not supplied, router.convertRouteToModuleId derives it

optional public settings?: Object

public url: any

your url pattern. The only required parameter

optional public visible?: boolean

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