WebKit2.HitTestResult.prototype.context_is_selection
function context_is_selection(): Boolean { // Gjs wrapper for webkit_hit_test_result_context_is_selection() }
Gets whether WebKit2.HitTestResultContext.selection flag is present in WebKit2.HitTestResult.context.
Since 2.8
- Returns
true if there's a selected element at the coordinates of the hit_test_result, or false otherwise