• JMap.History.pushHashParameters

    You can add or update a parameter in the url hash.

    Parameters

    • parameterName: string

      the name of the parameter

    • parameterValue: string

      the string value of the parameter, only string are accepted.

    Returns void

    Throws

    Error if parameterName is not a valid string

    Example

    // Ex. url is = ***http://localhost:8080/services/ng#ngProjectId=0***

    JMap.History.pushHashParameters("myvar", "test")

    // The url is now = ***http://localhost:8080/services/ng#ngProjectId=0&myvar=test***