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