MCPcopy Index your code
hub / github.com/helloxz/onenav / getReferenceNode

Function getReferenceNode

static/bootstrap4/js/bootstrap.bundle.js:1665–1667  ·  view source on GitHub ↗

* Returns the reference node of the reference object, or the reference object itself. * @method * @memberof Popper.Utils * @param {Element|Object} reference - the reference element (the popper will be relative to this) * @returns {Element} parent

(reference)

Source from the content-addressed store, hash-verified

1663 * @returns {Element} parent
1664 */
1665 function getReferenceNode(reference) {
1666 return reference && reference.referenceNode ? reference.referenceNode : reference;
1667 }
1668
1669 var isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode);
1670 var isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent);

Callers 2

getBoundariesFunction · 0.85
getReferenceOffsetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected