Share via


SplitView.onbeforehide event

[ onbeforehide is no longer available for use as of Windows Library for JavaScript (WinJS) 4.0. Instead, use onbeforeclose. ]

onbeforehide is no longer available. Instead, use onbeforeclose. Raised just before the pane is hidden.

Syntax

function handler(eventInfo) { /* Your code */ }
 
// addEventListener syntax
splitView.addEventListener("beforehide", handler);
splitView.removeEventListener("beforehide", handler);
 
- or -

splitView.onbeforehide = handler;

Event information

Synchronous No
Bubbles Yes
Cancelable Yes

 

Event handler parameters

  • eventInfo
    Type: Event**

    An object that contains information about the event.

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

SplitView