Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 510 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 510 Bytes

Lunax JS

Dependencies

* jQuery.js
* History.js

Using LunAjax.js:

$("element").LunAsync("#main"/* Destination data */, {
  animation: "#my-loading", // Element with loading
  animation_delay: 1000, // Delay after loading default is 1000ms

  start: function() {
    // Action before start
  },

  success: function(data) {
    // Action after success
  },

  error: function(e) {
    // Action on error
  },

  complete: function() {
    // Action after complete
  }
});