bigskysoftware / bigskysoftware/_hyperscript
[Feature Request] event listener to target
- Dominant language
- JavaScript
- Stars
- 3.8k
- Forks
- 172
- PR merge metrics
- No merged PRs in 30d
Description
When used in conjunction with htmx, I will often use _hs to perform some action at the end of the htmx swap or request.
Example:
```
```
What I would like is to be able to use a `to` keyword in place of `from` such that the following selector matches the `target` of the event such as
```
```Contributor guide
No contributing guide indexed for this repository
Research direction
No implementation file or test is named. Start by tracing how event listeners parse and handle `from`, then check how htmx `afterRequest` events expose their target; done means the proposed `to me` form matches that target and existing listener behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100