decord/alpha/source/utils/web/WindowInteractingUtils.tsx
github-actions 6eea20b8e1 chore: update source for alpha 348.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
2026-09-24 10:59:02 +00:00

24 lines
737 B
TypeScript

// Module ID: 5861
// Function ID: 5862
// Name: WindowInteractingUtils
// Dependencies: [2]
// Exports: clearCurrentlyInteractingWindowId, getCurrentlyInteractingWindowId, setCurrentlyInteractingWindowId
// Module 5861 (WindowInteractingUtils)
import size from "module_2" /* 2 */;
let c0 = null;
const result = size.fileFinishedImporting("utils/web/WindowInteractingUtils.tsx");
export const INTERACTION_EVENTS = ["click", "mousedown", "mouseup", "keydown", "keyup", "keypress", "contextmenu"];
export function getCurrentlyInteractingWindowId() {
return c0;
}
export function setCurrentlyInteractingWindowId(arg0) {
c0 = arg0;
}
export function clearCurrentlyInteractingWindowId(arg0) {
if (c0 === arg0) {
c0 = null;
}
}