page Function
Returns the content of the specified page 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 page. |
callback | Function | [required] The callback function. |
Example
PageType.page('home',callback);
|