Allow awaitClick to return the clicked element
Open
Beginner friendly
enhancement
- Dominant language
- JavaScript
- Stars
- 16
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Hello :)
It would be great if we could write
var button := awaitClick(...)
directly, instead of calling awaitClick(...) and then getElement(...) in two separate steps.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the awaitClick implementation and the getElement usage it currently requires. Confirm how the clicked element is represented, then verify that assigning awaitClick(...) directly provides that element while the existing call pattern remains usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100