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 (5 months)
Web Platform Tests (WPT)
View the latest WPT test results for this featureDeveloper votes
Do you need this feature?
Let us know by leaving a 👍 reaction on the feedback issue. Don't forget to also leave a comment explaining your specific use case.
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist