Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds an event listener to the ToolBar.
Syntax
toolBar.addEventListener(type, listener, useCapture);
Parameters
type
Type: stringThe name (type) of the event that the event listener is registered for.
listener
Type: stringThe listener or event handler function to invoke when the event gets raised.
useCapture
Type: booleanSet to true to register the event handler for the capturing phase; otherwise, set to false to register the event
Return value
This method does not return a value.
Requirements
Minimum WinJS version |
WinJS 4.0 |
Namespace |
WinJS.UI |