Skip to main content


fires when loading of data fails

loadError: (response: any) => void;


  • response: string | object - info about the error

Example"loadError", function(error){
// your code here

The response parameter can be either a string with the text of an error, or an object with two properties:

  • status - the code of an error
  • text - the text of an error