WebHitTestResult.contextIsLink

Check whether there is a link element at the hit test position.

Checks whether webkit.types.HitTestResultContext.Link flag is present in the context flags.

class WebHitTestResult
bool
contextIsLink
()

Return Value

Type: bool

true if the hit test covers a link element or false otherwise.