literal Function
Returns the value of the literal resolved to the current locale 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 literal. |
callback | Function | [required] The callback function. |
Example
PageType.literal('hello-world',callback);
|