Sailfish OS
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS
Select Page
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS

Sailfish Webview

API Documentation
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon

Contents

  • Properties
  • Detailed Description

PromptPopupInterface QML Type

A component which defines the interface for the input prompt popup More...

Import Statement: import Sailfish.WebView.Popups 1.0
Inherits:

UserPromptInterface

  • List of all members, including inherited members

Properties

  • text : string
  • value : string

Detailed Description

The PromptPopupInterface 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 input prompt popup in their application.

To do so, their implementation must extend the PromptPopupInterface, which itself extends the UserPromptInterface, and then they must tell the WebView to use their implementation via the popupProvider property.

The key assigned to acceptText will always be "OK" while the key assigned to cancelText will always be "Cancel".

See also UserPromptInterface and custompopups.

Property Documentation

text : string

The text to display as the prompt information message

A custom implementation should bind the text property of their prompt information text label to the value of this property.

This label will describe to the user what the site is asking them to enter information for, allowing the user to provide the appropriate information and make an informed acceptance or rejection decision.


value : string

The text value which the user provided via the prompt popup

A custom implementation should bind this property to the text property of their TextField (or to the appropriate property of whatever input element is being used by the custom implementation to allow the user to provide data).

It is an output property, whose value is read by the web view.


  • Legal
  • Contact Us
  • Jollyboys Ltd © 2024

  • Facebook
  • Twitter
  • Mastodon
  • YouTube
  • LinkedIn