Interface IMeteorRouter

For Router and Iron-Router contributed packages *

Index

Properties

Methods

Properties

public routes: Object

Methods

public add(route: Object)

Parameters

  • route: Object

public configure(options: IMeteorRouterConfig)

Parameters

public filter(filterName: string, options?: Object): any

Parameters

  • filterName: string
  • options?: Object optional

Returns

any

public filters(filtersMap: Object): any

Parameters

  • filtersMap: Object

Returns

any

public map(routeMap: Function)

Parameters

  • routeMap: Function

public page()

public path(route: string, params?: Object)

Parameters

  • route: string
  • params?: Object optional

public to(path: string, args?: Array<any>)

Parameters

  • path: string
  • args?: Array<any> optional

public url(route: string)

Parameters

  • route: string