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
Baseline Newly Available (since 2026-05-11)
This feature is expected to reach Baseline Widely Available status on: 2028-11-11
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 26.5 Released on 2026-05-11
- Safari on iOS 26.5 Released on 2026-05-11
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist