the listener id
Error if parameterName is not a valid string or fn is not a function
const listenerId = JMap.History.onParameterChange(...)
// the listener is working
// ...
JMap.History.removePropertyChangeListener(listenerId)
// here the listener has stopped
JMap.History.removePropertyChangeListener
You can detach a property listener by its id that has been returned when it has been created with function JMap.History.onParameterChange.
After that the listener will be destroyed.