WebKit2.HitTestResult.prototype.context_is_media
function context_is_media(): Boolean { // Gjs wrapper for webkit_hit_test_result_context_is_media() }
Gets whether WebKit2.HitTestResultContext.media flag is present in WebKit2.HitTestResult.context.
- Returns
true if there's a media element in the coordinates of the Hit Test, or false otherwise