WebKit2.NavigationPolicyDecision.prototype.get_mouse_button
function get_mouse_button(): Number(guint) { // Gjs wrapper for webkit_navigation_policy_decision_get_mouse_button() }
Gets the value of the WebKit2.NavigationPolicyDecision.mouse_button property.
- Returns
The mouse button used if this decision was triggered by a mouse event or 0 otherwise