MCPcopy
hub / github.com/rapi-doc/RapiDoc / replaceHistoryState

Method replaceHistoryState

src/rapidoc.js:848–851  ·  view source on GitHub ↗
(hashId)

Source from the content-addressed store, hash-verified

846 }
847
848 replaceHistoryState(hashId) {
849 const baseURL = this.getComponentBaseURL();
850 window.history.replaceState(null, null, `${baseURL}${this.routePrefix || '#'}${hashId}`);
851 }
852
853 expandAndGotoOperation(elementId, scrollToElement = true) {
854 if (!this.resolvedSpec) {

Callers 4

onIntersectMethod · 0.95
scrollToPathMethod · 0.95
toggleExpandFunction · 0.45

Calls 1

getComponentBaseURLMethod · 0.95

Tested by

no test coverage detected