WebKit2.NavigationPolicyDecision.prototype.get_navigation_type

function get_navigation_type(): WebKit2.NavigationType {
    // Gjs wrapper for webkit_navigation_policy_decision_get_navigation_type()
}
  

Gets the value of the WebKit2.NavigationPolicyDecision.navigation_type property.

Returns

The type of navigation triggering this policy decision.