This module provides utility functions for managing URLs and their parameter.
The functions in this module can be accessed using the syntax ix.api.url.functionName();.
ix.api.url.functionName();
// Check if current URL contains the parameter rq_AppGuidix.api.url.containsParam("rq_AppGuid", window.location.href);// Get all parameter values from the given URLix.api.url.getQsValues(window.location.href);// Example output{ "rq_AppGuid": "E5D140F5537EE73862F545341DFD8ACDF2016BD4", "rq_TargetPageGuid": "F72584F54764ECD5BC7D04737EDC0EFE316C1441", "qs_mode": "new", "qs_page": "F72584F54764ECD5BC7D04737EDC0EFE316C1441", "qs_reload": "F72584F54764ECD5BC7D04737EDC0EFE316C1441"} Copy
// Check if current URL contains the parameter rq_AppGuidix.api.url.containsParam("rq_AppGuid", window.location.href);// Get all parameter values from the given URLix.api.url.getQsValues(window.location.href);// Example output{ "rq_AppGuid": "E5D140F5537EE73862F545341DFD8ACDF2016BD4", "rq_TargetPageGuid": "F72584F54764ECD5BC7D04737EDC0EFE316C1441", "qs_mode": "new", "qs_page": "F72584F54764ECD5BC7D04737EDC0EFE316C1441", "qs_reload": "F72584F54764ECD5BC7D04737EDC0EFE316C1441"}
This module provides utility functions for managing URLs and their parameter.
Usage
The functions in this module can be accessed using the syntax
ix.api.url.functionName();
.Example