Поделиться через


Command.oncommandvisibilitychanged event

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

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

Command