Skip to content

PKUI.MESSAGE.Confirm.dismiss

kerrishotts edited this page Nov 15, 2012 · 1 revision

(part of PKUI.MESSAGE) | (method of PKUI.MESSAGE.Confirm )

Return Type: void

Parameters: buttonIndex ( number )

Dismisses a message box on the screen. If PKUI.CORE.useTransforms is true, and the platform is iOS, the message box will disappear with animation.

Typically called by a button tap, PKUI.MESSAGE.Confirm.hide, or a back button event.

Notes

  • -1 indicates that no button was tapped.
  • Button Indexes are zero-based.
  • If a Cancel button is present, the buttonIndex will be the index of the button, not -1.

Version

0.1 Introduced

0.2 Docs Valid

Clone this wiki locally