WICG / navigation-api

The new navigation API provides a new interface for navigations and session history, with a focus on single-page application navigations.
https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigation-api
484 stars 30 forks source link

Explainer for navigateEvent.sourceElement #264

Closed natechapin closed 12 months ago

natechapin commented 1 year ago

Explainer for #225

natechapin commented 1 year ago

Updated the name and documented the cross-window case. I'm flexible as to when we declaring the naming discussion settled.

natechapin commented 1 year ago

I added sourceElement to the example of processing a form submission. Is that sufficient, or do you think it needs a standalone example?

domenic commented 12 months ago

That looks good! Just need to change HTMLElement to Element to deal with the SVG case.

natechapin commented 12 months ago

That looks good! Just need to change HTMLElement to Element to deal with the SVG case.

Oops, done.