FunctionsuseChaynsHistoryEventuseChaynsHistoryEvent CallableuseChaynsHistoryEvent(type: popstate | change, handler: (e: ChaynsHistoryLayerEvent) => void): voidLow-level subscription to change or popstate events on the nearest layer.Parameterstype: popstate | changehandler: (e: ChaynsHistoryLayerEvent) => voidReturns void
Low-level subscription to
changeorpopstateevents on the nearest layer.