File tree Expand file tree Collapse file tree 4 files changed +26
-2
lines changed Expand file tree Collapse file tree 4 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -573,6 +573,20 @@ <h1>GitHub Feature Support Table</h1>
573573 < td data-supported ="true "> < div > +</ div > </ td >
574574 < td data-supported ="true "> < div > 12.0+</ div > </ td >
575575 </ tr >
576+ < tr >
577+ < th >
578+ < a href ="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/beforetoggle_event ">
579+ < code > beforetoggle on Dialog</ code >
580+ </ a >
581+ </ th >
582+ < td data-polyfill ="dialogToggleEvents "> < div > *</ div > </ td >
583+ < td data-supported ="true "> < div > 132+</ div > </ td >
584+ < td data-supported ="true "> < div > 132+</ div > </ td >
585+ < td data-supported ="true "> < div > 133+</ div > </ td >
586+ < td data-supported ="false "> < div > *</ div > </ td >
587+ < td data-supported ="true "> < div > 117+</ div > </ td >
588+ < td data-supported ="true "> < div > *</ div > </ td >
589+ </ tr >
576590 < tr >
577591 < th > </ th >
578592 < th colspan ="7 "> < h3 > Native Syntax</ h3 > </ th >
Original file line number Diff line number Diff line change 4646 "typescript" : " ^5.2.2"
4747 },
4848 "dependencies" : {
49- "@oddbird/popover-polyfill" : " ^0.5.2"
49+ "@oddbird/popover-polyfill" : " ^0.5.2" ,
50+ "dialog-toggle-events-polyfill" : " ^1.1.2"
5051 }
5152}
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import * as navigatorClipboard from './navigator-clipboard.js'
44import * as withResolvers from './promise-withResolvers.js'
55import * as requestIdleCallback from './requestidlecallback.js'
66import * as popover from '@oddbird/popover-polyfill/fn'
7+ import * as dialogToggleEvents from 'dialog-toggle-events-polyfill/fn'
78
89let supportsModalPseudo = false
910try {
@@ -51,6 +52,7 @@ export const polyfills = {
5152 requestIdleCallback,
5253 withResolvers,
5354 popover,
55+ dialogToggleEvents,
5456}
5557
5658export function isSupported ( ) {
You can’t perform that action at this time.
0 commit comments