decord/source/utils/web/WindowInteractingUtils.tsx

25 lines
729 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 6952
// Function ID: 6953
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-24 06:08:38 +00:00
// Module 6952 (INTERACTION_EVENTS)
import set from "set" /* 2 */;
2026-07-23 10:11:24 +00:00
let c0 = null;
2026-08-24 06:08:38 +00:00
const result = 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) {
2026-08-24 06:08:38 +00:00
closure_0 = arg0;
2026-07-20 16:05:17 +00:00
}
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
}
}