bigskysoftware / bigskysoftware/_hyperscript

[Feature Request] event listener to target

Aperta
#554 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
3.8k
Fork
172
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

```

```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript
Ambito
frontend, web-dev
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.