Optional configuration for Mouse.OnUp.

interface MouseUpOptions {
    block?: boolean;
    wildcard?: boolean;
    deviceId?: string;
}

Properties

block?: boolean

If true, suppresses the button-up event from reaching other applications. Defaults to false. When a matching OnButton/OnDown with block: true already suppresses this button-up automatically, setting this is unnecessary. Forced false when deviceId is set.

wildcard?: boolean

If true, triggers even when extra modifier keys are held. Defaults to false.

deviceId?: string

Limit this binding to a specific physical mouse device. Non-blocking when set.