DevicePopups
Wisej.Hybrid.DevicePopups
Last updated
Wisej.Hybrid.DevicePopups
Last updated
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid (3.5.0.0)
Provides methods to show popups.
Access this class through the Device singleton.
Initializes a new instance of DevicePopups.
Displays a native platform action sheet, allowing the application user to choose from several buttons.
Parameter | Type | Description |
---|---|---|
Returns: String. The selected button.
Presents an alert dialog to the application user with a single cancel button.
Shows a modal prompt.
Returns: String. The result of the prompt.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
title
The title of the alert dialog.
message
The body text of the alert dialog.
Text to be displayed on the 'Cancel' button.
title
The title of the prompt
message
The message of the prompt
The accept button text
The cancel button text
The text placeholder
The maximum length of the text
The keyboard to use
The initial text value
title
Title of the displayed action sheet. Must not be null.
cancel
Text to be displayed in the 'Cancel' button. Can be null to hide the cancel action.
destruction
Text to be displayed in the 'Destruct' button. Can be null to hide the destructiveoption.
direction
The flow direction of the items.
buttons
Text labels for additional buttons. Must not be null.
cancel
accept
cancel
placeholder
maxLength
keyboard
initialValue