ampproject / ampproject/amphtml
Different custom event for swipe to next/previous and auto next and previous
Open
P3: When Possible
Stale
Type: Feature Request
WG: components
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
## Custom event for swipe and tap
Differentiate between swipe to next/previous and auto next/previous when last slide is viewed. A custom event to listen for when the swipe has occurred.
This feature is required for analytics purpose to differentiate the user interaction.
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by locating the carousel's swipe, tap, and automatic next/previous handling, then identify the existing custom-event behavior; done means the user interactions can be distinguished through documented events and covered by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100