WebHitTestResult.contextIsSelection

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

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

class WebHitTestResult
bool
contextIsSelection
()

Return Value

Type: bool

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