oninvoked event

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

SynchronousNo
BubblesYes
CancelableYes

 

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

 

 

Show:
© 2017 Microsoft