Skip to content

Instantly share code, notes, and snippets.

@DaisukeNagata
Last active August 19, 2022 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DaisukeNagata/2f32703f287982ddccf3ee3c644216b4 to your computer and use it in GitHub Desktop.
Save DaisukeNagata/2f32703f287982ddccf3ee3c644216b4 to your computer and use it in GitHub Desktop.
infinite+carouSel function
@DaisukeNagata
Copy link
Author

Widget Size example...
_itemCount = 15 -> _displayCount = 12, _displayIndex = 11, _carouSelCount = 16.5
_itemCount = 10 -> _displayCount = 8, _displayIndex = 7, _carouSelCount = 10.5
_itemCount = 5 -> _displayCount = 4 _displayIndex = 3, _carouSelCount = 4.5
2022-08-20.0.39.26.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment