WebKit2.HitTestResult.prototype.context_is_image

function context_is_image(): Boolean {
    // Gjs wrapper for webkit_hit_test_result_context_is_image()
}
  

Gets whether WebKit2.HitTestResultContext.image flag is present in WebKit2.HitTestResult.context.

Returns

true if there's an image element in the coordinates of the Hit Test, or false otherwise