File tree Expand file tree Collapse file tree 4 files changed +28
-0
lines changed
Expand file tree Collapse file tree 4 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -545,6 +545,20 @@ <h1>GitHub Feature Support Table</h1>
545545 < td data-supported ="true "> < div > 34+</ div > </ td >
546546 < td data-supported ="true "> < div > 5.0+</ div > </ td >
547547 </ tr >
548+ < tr >
549+ < th >
550+ < a href ="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/beforetoggle_event ">
551+ < code > beforetoggle on Dialog</ code >
552+ </ a >
553+ </ th >
554+ < td data-polyfill ="dialogToggleEvents "> < div > *</ div > </ td >
555+ < td data-supported ="true "> < div > 132+</ div > </ td >
556+ < td data-supported ="true "> < div > 132+</ div > </ td >
557+ < td data-supported ="true "> < div > 133+</ div > </ td >
558+ < td data-supported ="false "> < div > *</ div > </ td >
559+ < td data-supported ="true "> < div > 117+</ div > </ td >
560+ < td data-supported ="true "> < div > *</ div > </ td >
561+ </ tr >
548562 < tr >
549563 < th > </ th >
550564 < th colspan ="7 "> < h3 > Native Syntax</ h3 > </ th >
Original file line number Diff line number Diff line change 4949 "mocha" : " ^10.2.0" ,
5050 "tslib" : " ^2.6.2" ,
5151 "typescript" : " ^5.2.2"
52+ },
53+ "dependencies" : {
54+ "dialog-toggle-events-polyfill" : " ^1.1.0"
5255 }
5356}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import * as elementCheckVisibility from './element-checkvisibility.js'
33import * as navigatorClipboard from './navigator-clipboard.js'
44import * as withResolvers from './promise-withResolvers.js'
55import * as requestIdleCallback from './requestidlecallback.js'
6+ import * as dialogToggleEvents from 'dialog-toggle-events-polyfill/fn'
67
78let supportsModalPseudo = false
89try {
@@ -49,6 +50,7 @@ export const polyfills = {
4950 navigatorClipboard,
5051 requestIdleCallback,
5152 withResolvers,
53+ dialogToggleEvents,
5254}
5355
5456export function isSupported ( ) {
You can’t perform that action at this time.
0 commit comments