Skip to content

Conversation

rkstar
Copy link

@rkstar rkstar commented Jan 23, 2023

  • getCurrentPage() returns the currently active page index
  • updatePagesInBuffer allows user to specify how many pages on either side of active component should re-render when active changes
  • isAdjacentToActive allows user to know if a buffer page is adjacent to the active page

* getCurrentPage() returns the currently active page index
* updatePagesInBuffer allows user to specify how many pages on either side of `active` component should re-render when `active` changes
* `isAdjacentToActive` allows user to know if a buffer page is adjacent to the `active` page
@ryskin
Copy link

ryskin commented Nov 14, 2023

updatePagesInBuffer - that really good idea, yesterday I had it in mind.

image

when I'm at the first date on the calendar I'm able to move right once and 6 times to the right. So I don't need 6 screens from left and 6 from right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants