//! This module provides utility functions for interacting with browser-specific features,
//! such as event handling, that are common in WebAssembly applications.
use minwebgl as gl;
use JsCast as _;
use ;
/// Disables the default browser context menu on a given event target.
///
/// This is useful to allow an application to implement its own right-click behavior
/// without being overridden by the browser's default menu.
///
/// # Arguments
/// * `target`: The `EventTarget` (e.g., an HTML element) on which to prevent the context menu.