framework7io / framework7io/framework7
add onDragEnd event on color picker
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.8k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
My app render an image preview via API. In example, https://api.example.com/preview?text=test&color=FFFFFF. Its return an image with custom text and text color.
The newest component, color picker is great. The little problem is that have only onChange event.
So, I can't render my image preview every drag change on the color picker.
I think I can use timeout method this time. But it will be great if you can add an event like onDragEnd or onAfterChange, where fires when user stop dragging the color picker, or at mouse up / touch end.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the color picker component and its existing onChange event handling. Check how mouse and touch interactions are represented, then verify that the new event fires when dragging ends and that the component's event documentation or examples describe the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100