MCPcopy
hub / github.com/shipshapecode/shepherd / _updatePath

Function _updatePath

shepherd.js/src/components/shepherd-modal.ts:69–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67 container.append(element);
68
69 function _updatePath() {
70 pathEl.setAttribute('d', makeOverlayPath(openingProperties));
71 }
72
73 function closeModalOpening() {
74 openingProperties = [{ width: 0, height: 0, x: 0, y: 0, r: 0 }];

Callers 3

createShepherdModalFunction · 0.85
closeModalOpeningFunction · 0.85
positionModalFunction · 0.85

Calls 1

makeOverlayPathFunction · 0.90

Tested by

no test coverage detected