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

Abierto
#518 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
typescript
Área
tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
TypeScript
Estrellas
213
Forks
35
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de UI5/typescript

Todos los issues de UI5/typescript

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.