The namespace for the Alert widget is kony.ui. It contains the following associated methods.
This method is used to dismiss an alert.
Syntax
kony.ui.dismissAlert(alertHandler)
Return Values
None.
Argument
An object of Alert widget that was returned from the kony.ui.Alert API.
Limitation
In iOS, when you present multiple alerts in succession and then close an alert, all the alerts that are present above this alert are closed.
Example
//Sample code to invoke dismissAlert method for myAlert Alert widget.
kony.ui.dismissAlert(myalert);
Platform Availability
Not available for SPA and Desktop Web.
prem | Copyright © 2012 Kony, Inc. All rights reserved. |
prem | Copyright © 2012 Kony, Inc. All rights reserved. |