feat(html): add <media-gesture> element (#1305)

This commit is contained in:
rahim
2026-04-10 18:14:17 -07:00
committed by GitHub
parent 12877c34fc
commit d2782f0c8d
21 changed files with 400 additions and 7 deletions
@@ -15,7 +15,7 @@ export const PiPButton = createMediaButton<PiPButtonCore, PiPButtonProps>({
stateAttrMap: PiPButtonDataAttrs,
selector: selectPiP,
action: (core, state) => core.toggle(state),
hotkeyAction: 'togglePiP',
hotkeyAction: 'togglePictureInPicture',
});
export namespace PiPButton {