ToggleEvent source
The source property of a ToggleEvent object is the element which triggered the toggle event to fire for a popover, <dialog>, or <details> element, if applicable.
Status
Limited availability
MDN documentation
Specifications
- HTML (#dom-toggleevent-source), from HTML Workstream (WHATWG).
Browser support
- Chrome 140 Released on 2025-09-02
- Chrome Android 140 Released on 2025-09-02
- Edge 140 Released on 2025-09-05
- Firefox 145 Released on 2025-11-11
- Firefox for Android 145 Released on 2025-11-11
- Safari ❌
- Safari on iOS ❌
Baseline availability blocked since November 2025 by Safari (1 months)
Developer signals
Votes: 0
If you want this feature to be available in all browsers, vote for it by adding a thumbs up reaction (👍) to this GitHub issue, and leave a comment with more information.
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist