Type for `beforeShow` event of `sap.m.NavContainerChild` pseudo interface

Aperta
#518 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
typescript
Ambito
tooling

Direzione di ricerca

Start by reviewing the TypeScript typings and documentation for the sap.m.NavContainerChild beforeShow event, then compare the interface-event description with the addEventDelegate samples. Investigate how JQuery.Event is currently represented and determine a supported typing approach; done means the event can be typed without relying on an unexplained cast.

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

Descrizione

Hello and sorry for using this as a support forum.

How does one type the beforeShow sap.m.NavContainerChild event?

In the docs it is described as interface event but all samples show it being used only as a pseudo event using the addEventDelegate API.

Wrt. pseudo events: does a better way to type them out exist? JQuery.Event is not generic and I see only type casting as a way out.

Thanks and regards

Image Image
Lingua principale
TypeScript
Stelle
213
Fork
35
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di UI5/typescript

Tutte le issue di UI5/typescript

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.