decord/source/utils/web/WindowInteractingUtils.tsx

23 lines
712 B
TypeScript
Raw Normal View History

2026-08-07 06:50:47 +00:00
// Module ID: 5341
// Function ID: 5342
2026-07-20 16:05:17 +00:00
// Name: INTERACTION_EVENTS
2026-07-23 10:11:24 +00:00
// Dependencies: [2]
2026-07-20 16:05:17 +00:00
// Exports: clearCurrentlyInteractingWindowId, getCurrentlyInteractingWindowId, setCurrentlyInteractingWindowId
2026-08-07 06:50:47 +00:00
// Module 5341 (INTERACTION_EVENTS)
2026-07-23 10:11:24 +00:00
let c0 = null;
const result = require("set").fileFinishedImporting("utils/web/WindowInteractingUtils.tsx");
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
export const INTERACTION_EVENTS = ["click", "mousedown", "mouseup", "keydown", "keyup", "keypress", "contextmenu"];
2026-07-20 16:05:17 +00:00
export function getCurrentlyInteractingWindowId() {
2026-07-23 10:11:24 +00:00
return c0;
2026-07-20 16:05:17 +00:00
}
export function setCurrentlyInteractingWindowId(arg0) {
let closure_0 = arg0;
}
export function clearCurrentlyInteractingWindowId(arg0) {
2026-07-23 10:11:24 +00:00
if (c0 === arg0) {
c0 = null;
2026-07-20 16:05:17 +00:00
}
}