WebKit2.NavigationAction.prototype.get_mouse_button

function get_mouse_button(): Number(guint) {
    // Gjs wrapper for webkit_navigation_action_get_mouse_button()
}
  

Return the number of the mouse button that triggered the navigation, or 0 if the navigation was not started by a mouse event.

Since 2.6

Returns

the mouse button number or 0