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

Carousel v2: add logic for spacers for looping. #20293

Merged
merged 4 commits into from
Jan 16, 2019

Conversation

sparhami
Copy link

This implements the logic needed to ensure the correct amount of space is reserved for either side of the carousel when looping. The logic to snap slides as well as to actually move them still needs to be added.

extensions/amp-carousel/0.2/array-util.js Outdated Show resolved Hide resolved
extensions/amp-carousel/0.2/array-util.js Outdated Show resolved Hide resolved
extensions/amp-carousel/0.2/array-util.js Show resolved Hide resolved
@sparhami sparhami merged commit d135c75 into ampproject:master Jan 16, 2019
@sparhami sparhami deleted the carousel_impl branch January 16, 2019 22:58
noranazmy pushed a commit to noranazmy/amphtml that referenced this pull request Mar 22, 2019
This implements the logic needed to ensure the correct amount of space is reserved for either side of the carousel when looping. The logic to snap slides as well as to actually move them still needs to be added.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants