Documentation / @blazetrails/actionpack / ActionView / AssetUrlHelperHost
Interface: AssetUrlHelperHost
Defined in: packages/actionview/dist/helpers/asset-url-helper.d.ts:11
Properties
config?
optionalconfig?: {assetHost?:string| ((source,request?) =>string);defaultAssetHostProtocol?:string;relativeUrlRoot?:string; } |null
Defined in: packages/actionview/dist/helpers/asset-url-helper.d.ts:12
request?
optionalrequest?: {baseUrl:string;protocol:string; } |null
Defined in: packages/actionview/dist/helpers/asset-url-helper.d.ts:17
Methods
computeAssetPath()
computeAssetPath(
source,options?):string
Defined in: packages/actionview/dist/helpers/asset-url-helper.d.ts:21
Parameters
| Parameter | Type |
|---|---|
source | string |
options? | AssetPathOptions |
Returns
string
publicComputeAssetPath()
publicComputeAssetPath(
source,options?):string
Defined in: packages/actionview/dist/helpers/asset-url-helper.d.ts:22
Parameters
| Parameter | Type |
|---|---|
source | string |
options? | AssetPathOptions |
Returns
string