Contents

webView(_:mouseDidMoveOverElement:modifierFlags:)

Updates information about the element the user is mousing over.

Declaration

optional func webView(_ sender: WebView!, mouseDidMoveOverElement elementInformation: [AnyHashable : Any]!, modifierFlags: Int)

Parameters

  • sender:

    The web view that sent the message.

  • elementInformation:

    A dictionary that describes the element under the mouse, or nil. See “Constants” in Webview Swift.class for information about the key-value pairs in this dictionary.

  • modifierFlags:

    An integer bit field that indicates the modifier keys in effect during the event. See “Modifier Flags” in Nsevent for information about possible modifiers. Note that this parameter was changed from an unsigned int to an NSUInteger in OS X v10.5.

See Also

Handling Mouse Events