Skip to content

Commit 86003a6

Browse files
committed
showPrompt: modify docs
1 parent 7972356 commit 86003a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/banglejs/jswrap_bangle.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6113,6 +6113,7 @@ The second `options` argument can contain:
61136113
{
61146114
title: "Hello", // optional Title
61156115
buttons : {"Ok":true,"Cancel":false}, // optional list of button text & return value
6116+
buttonsLong : {"Ok":2,"Cancel":"Cancel"}, // Bangle.js2: optional subset of buttons that should also have a specific long press action
61166117
img: "image_string" // optional image string to draw
61176118
remove: function() { } // Bangle.js: optional function to be called when the prompt is removed#
61186119
buttonHeight : 30, // Bangle.js2: optional height to force the buttons to be

0 commit comments

Comments
 (0)