ContextMenuInterface QML Type
A component which defines the interface for context menu popups More...
| Import Statement: | import Sailfish.WebView.Popups 1.0 |
Properties
Detailed Description
The ContextMenuInterface QML type is exposed through the Sailfish.WebView.Popups QML import namespace.
Clients who use a WebView in their application may wish to customize the appearance or behavior of the context menu in their application.
To do so, their implementation must extend the ContextMenuInterface, and then they must tell the WebView to use their implementation via the popupProvider property.
See also custompopups.
Property Documentation
The mime type of the resource which the user long-pressed to trigger the context menu popup
Whether the user should be given the option to download the resource to their device (e.g. if they long-pressed an image)
The source URI of the image which the user long-pressed to trigger the context menu popup
The URI of the link which the user long-pressed to trigger the context menu popup
The protocol of the link which the user long-pressed to trigger the context menu popup
The title of the link which the user long-pressed to trigger the context menu popup