menu Function
Returns the specified menu and executes the callback. The callback should recieve the argument "data", which contains the response body in "data.content".
Summary
Element | Function |
Returns | Object |
Arguments
name | String | [required] The name of the menu. |
callback | Function | [required] The callback function. |
Example
PageType.menu('main',callback);
|