Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add useful options to surface information to end user #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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