Type for `beforeShow` event of `sap.m.NavContainerChild` pseudo interface
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 213
- Forks
- 35
- Avg merge
- 37m
- Merged PRs (30d)
- 1
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100