Menu.dispose method
Releases resources held by this Menu. Call this method when the Menu is no longer needed. After calling this method, the Menu becomes unusable.
Syntax
menu.dispose();
Parameters
This method has no parameters.
Return value
This method does not return a value.
Requirements
Minimum WinJS version |
WinJS 2.0 |
Namespace |
WinJS.UI |
See also
MenuCommand
Designers
Guidelines for flyouts
Guidelines for context menus