Aracılığıyla paylaş


SplitView.onbeforeshow event

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

onbeforeshow is no longer available. Instead, use onbeforeopen. Raised just before the pane is shown.

Syntax

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

splitView.onbeforeshow = 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