MCPcopy Index your code
hub / github.com/react-dates/react-dates / getNextScrollableMonths

Method getNextScrollableMonths

src/components/DayPicker.jsx:727–736  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

725 }
726
727 getNextScrollableMonths(e) {
728 const { onGetNextScrollableMonths } = this.props;
729 if (e) e.preventDefault();
730
731 if (onGetNextScrollableMonths) onGetNextScrollableMonths(e);
732
733 this.setState(({ scrollableMonthMultiple }) => ({
734 scrollableMonthMultiple: scrollableMonthMultiple + 1,
735 }));
736 }
737
738 getPrevScrollableMonths(e) {
739 const { numberOfMonths, onGetPrevScrollableMonths } = this.props;

Callers 1

DayPicker_spec.jsxFile · 0.80

Calls 1

Tested by

no test coverage detected