File tree 4 files changed +26
-2
lines changed
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>
573
573
< td data-supported ="true "> < div > +</ div > </ td >
574
574
< td data-supported ="true "> < div > 12.0+</ div > </ td >
575
575
</ 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 >
576
590
< tr >
577
591
< th > </ th >
578
592
< th colspan ="7 "> < h3 > Native Syntax</ h3 > </ th >
Original file line number Diff line number Diff line change 46
46
"typescript" : " ^5.2.2"
47
47
},
48
48
"dependencies" : {
49
- "@oddbird/popover-polyfill" : " ^0.5.2"
49
+ "@oddbird/popover-polyfill" : " ^0.5.2" ,
50
+ "dialog-toggle-events-polyfill" : " ^1.1.2"
50
51
}
51
52
}
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import * as navigatorClipboard from './navigator-clipboard.js'
4
4
import * as withResolvers from './promise-withResolvers.js'
5
5
import * as requestIdleCallback from './requestidlecallback.js'
6
6
import * as popover from '@oddbird/popover-polyfill/fn'
7
+ import * as dialogToggleEvents from 'dialog-toggle-events-polyfill/fn'
7
8
8
9
let supportsModalPseudo = false
9
10
try {
@@ -51,6 +52,7 @@ export const polyfills = {
51
52
requestIdleCallback,
52
53
withResolvers,
53
54
popover,
55
+ dialogToggleEvents,
54
56
}
55
57
56
58
export function isSupported ( ) {
You can’t perform that action at this time.
0 commit comments