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

feat(Carousel):滚动效果保持总是从左向右滚动 #695

Merged
merged 678 commits into from Mar 21, 2022
Merged

feat(Carousel):滚动效果保持总是从左向右滚动 #695

merged 678 commits into from Mar 21, 2022

Conversation

nullptr-z
Copy link
Collaborator

原本尾帧回到首帧会向左滚动

添加API

  • 切换面板前的回调afterChange
  • 切换面板后的回调beforeChange

</div>
</div>
);
}

export default React.forwardRef<CarouselRef, CarouselProps>(Carousel);
export default React.forwardRef<CarouselRef, CarouselProps>(Carousel as any);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any 类型不处理一下?

@nullptr-z

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.

None yet

4 participants