AlertPopupInterface QML Type
A component which defines the interface for the alert popup More...
Properties
Detailed Description
The AlertPopupInterface 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 alert popup in their application.
To do so, their implementation must extend the AlertPopupInterface, which itself extends the UserPromptInterface, and then they must tell the WebView to use their implementation via the popupProvider property.
Note that a custom implementation of an AlertPopupInterface need not offer separate accept and reject actions; simply providing an accept action is sufficient (e.g. an "OK" button to emit accepted when triggered).
The key assigned to acceptText will always be "OK" while cancelText will always be assigned the empty string.
See also UserPromptInterface and custompopups.
Property Documentation
The text to display as the alert message
A custom implementation should bind the text property of their alert text label to the value of this property.