MCPcopy
hub / github.com/flatpickr/flatpickr / set

Function set

src/index.ts:1107–1112  ·  view source on GitHub ↗
(bool: boolean)

Source from the content-addressed store, hash-verified

1105 Object.defineProperty(self, "_hidePrevMonthArrow", {
1106 get: () => self.__hidePrevMonthArrow,
1107 set(bool: boolean) {
1108 if (self.__hidePrevMonthArrow !== bool) {
1109 toggleClass(self.prevMonthNav, "flatpickr-disabled", bool);
1110 self.__hidePrevMonthArrow = bool;
1111 }
1112 },
1113 });
1114
1115 Object.defineProperty(self, "_hideNextMonthArrow", {

Callers

nothing calls this directly

Calls 3

toggleClassFunction · 0.90
arrayifyFunction · 0.90
updateValueFunction · 0.85

Tested by

no test coverage detected