MCPcopy
hub / github.com/flatpickr/flatpickr / close

Function close

src/index.ts:1359–1372  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1357 }
1358
1359 function close() {
1360 self.isOpen = false;
1361
1362 if (!self.isMobile) {
1363 if (self.calendarContainer !== undefined) {
1364 self.calendarContainer.classList.remove("open");
1365 }
1366 if (self._input !== undefined) {
1367 self._input.classList.remove("active");
1368 }
1369 }
1370
1371 triggerEvent("onClose");
1372 }
1373
1374 function destroy() {
1375 if (self.config !== undefined) triggerEvent("onDestroy");

Callers

nothing calls this directly

Calls 1

triggerEventFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…