MCPcopy Create free account
hub / github.com/code-beans/UnityFX / scrollIfAnchor

Function scrollIfAnchor

templates/unity/styles/docfx.js:1093–1114  ·  view source on GitHub ↗

* If the provided href is an anchor which resolves to an element on the * page, scroll to it. * @param {String} href * @return {Boolean} - Was the href an anchor.

(href, pushToHistory)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

scrollToCurrentFunction · 0.85
delegateAnchorsFunction · 0.85

Calls 1

getFixedOffsetFunction · 0.85

Tested by

no test coverage detected