-
Notifications
You must be signed in to change notification settings - Fork 22.7k
Editorial review: Document NavigateEvent.sourceElement property #39068
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Editorial review: Document NavigateEvent.sourceElement property #39068
Conversation
Preview URLs
Flaws (9)URL:
URL:
URL:
External URLs (3)URL:
(comment last updated: 2025-04-11 09:49:00) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you!
The initiating element can be: | ||
|
||
- An {{htmlelement("a")}} element. | ||
- An {{htmlelement("area")}} element. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically it could also be a SVG <a>
element.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cheers @domenic; I've added that as a possibility.
Description
The
NavigateEvent.sourceElement
property is supported in Chrome 135 — see https://chromestatus.com/feature/5134353390895104.This PR provides documentation for the new property.
Motivation
Additional details
Related issues and pull requests