Aracılığıyla paylaş


SplitViewCommand.oninvoked event

Raised when the SplitViewCommand is invoked.

Syntax

<div data-win-control="WinJS.UI.SplitViewCommand" data-win-options="{oninvoked : handler}" />
function handler(eventInfo) { /* Your code */ }
 
// addEventListener syntax
splitViewCommand.addEventListener("invoked", handler);
splitViewCommand.removeEventListener("invoked", 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

SplitViewCommand