Display Confirmation Bottom Sheet
Display Confirmation Bottom Sheet - kintone.mobile.showConfirmBottomSheet()
Displays a confirmation bottom sheet on the mobile screen that prompts the user for confirmation and retrieves their choice.
Function
Desktop
For desktop, use the following API:
Display Confirmation Dialog
Mobile
kintone.mobile.showConfirmBottomSheet(config)
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| config | Object | Required | The bottom sheet configuration. |
| config.title | String | Optional | The title. If ignored, it will not be displayed. |
| config.body | String | Optional | The bottom sheet body text.\n, \r, \r\n are interpreted as line breaks.If ignored, it will not be displayed. |
| config.showOkButton | Boolean | Optional | The visibility of the OK button.
|
| config.okButtonText | String | Optional | The text to display on the OK button. If ignored, "OK" will be displayed according to the logged-in user's language. |
| config.showCancelButton | Boolean | Optional | The visibility of the Cancel button.
|
| config.cancelButtonText | String | Optional | The text to display on the Cancel button. If ignored, "Cancel" will be displayed according to the logged-in user's language. |
| config.showCloseButton | Boolean | Optional | The visibility of the Close button.
|
Returns
A Promise object.
The following values can be retrieved when the Promise object is fulfilled:
| Property | Type | Description |
|---|---|---|
| result | String | The action selected by the user.
|
Sample Request
|
|
UI Image
The image below shows the bottom sheet on mobile.
This may change in future product updates.