MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / restoreOutline

Function restoreOutline

libs/leaflet/leaflet-src.js:2636–2642  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2634 // @function restoreOutline()
2635 // Cancels the effects of a previous [`L.DomUtil.preventOutline`]().
2636 function restoreOutline() {
2637 if (!_outlineElement) { return; }
2638 _outlineElement.style.outlineStyle = _outlineStyle;
2639 _outlineElement = undefined;
2640 _outlineStyle = undefined;
2641 off(window, 'keydown', restoreOutline);
2642 }
2643
2644 // @function getSizedParentNode(el: HTMLElement): HTMLElement
2645 // Finds the closest parent node which size (width and height) is not null.

Callers 1

preventOutlineFunction · 0.85

Calls 1

offFunction · 0.70

Tested by

no test coverage detected