ContentDialog.onafterhide event

Raised immediately after the dialog is hidden.
Syntax
function handler(eventInfo) { /* Your code */ } // addEventListener syntax contentDialog.addEventListener("afterhide", handler); contentDialog.removeEventListener("afterhide", handler);
Event information
| Synchronous | No |
|---|---|
| Bubbles | Yes |
| Cancelable | No |
Event handler parameters
- eventInfo
-
Type: CustomEvent
An object that contains information about the event. The detail property of this object contains the following sub-properties:
- detail.reason
-
A object that specifies why the dialog was dismissed. This is usually a WinJS.UI.ContentDialog.DismissalResult value, but it may be any object.
Requirements
|
Minimum WinJS version |
WinJS 4.0 |
|---|---|
|
Namespace |
WinJS.UI |
See also
Show: