oncommandvisibilitychanged event

Command.oncommandvisibilitychanged event

Applies to Windows and Windows Phone

Raised when the value of the Command object's hidden property changes.

Syntax


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

command.oncommandvisibilitychanged = 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

Command

 

 

Show:
© 2017 Microsoft