Documentation / @blazetrails/actionpack / UrlFor
Variable: UrlFor
constUrlFor: {_routesContext: { };_withRoutes: { };fullUrlFor: { };optimizeRoutesGeneration: { };routeFor: (this,name, ...args) =>string;urlFor: (this,options?) =>string;urlOptions: (this) =>Record<string,unknown>; }
Defined in: packages/actionpack/lib/action-dispatch/routing/url-for.ts:189
Type Declaration
_routesContext
_routesContext: { }
_withRoutes
_withRoutes: { }
fullUrlFor
fullUrlFor: { }
optimizeRoutesGeneration
optimizeRoutesGeneration: { }
routeFor
routeFor: (
this,name, ...args) =>string
Parameters
| Parameter | Type |
|---|---|
this | UrlForHost |
name | string |
...args | unknown[] |
Returns
string
urlFor
urlFor: (
this,options?) =>string
Parameters
| Parameter | Type |
|---|---|
this | UrlForHost |
options? | UrlForOptions |
Returns
string
urlOptions
urlOptions: (
this) =>Record<string,unknown>
Parameters
| Parameter | Type |
|---|---|
this | UrlForHost |
Returns
Record<string, unknown>