Dismiss custom dialog
- Since SDK: 1.0.0
This method must be called within the custom dialog in order to dismiss the custom dialog.
adobe.dps.store.dismissCustomDialog
API Snippet
dismissCustomDialog
<!DOCTYPE html PUBLIC "-/ / W3C/ / DTD XHTML 1.0 Transitional/ / EN" "http:/ / www.w3.org/ TR/ xhtml1/ DTD/ xhtml1- transitional.dtd"> <html xmlns= "http:/ / www.w3.org/ 1999/ xhtml"> <head> <meta http- equiv= "Content- Type" content= "text/ html; charset= UTF- 8" / > <title>dismissCustomDialog API</ title> <script type= "text/ javascript"> function dismissCustomDialog() { if (window.adobedpscontextloaded) { / / call into the presentCustomDialog API adobe.dps.store.dismissCustomDialog(); } } </ script> </ head> <body> <button type= "button" onclick= "dismissCustomDialog()">Dismiss Custom Dialog</ button> </ body> </ html>
