DashboardJS is a Javascript/jQuery Library that handles dashboard events, async views, XHR requests and responses/notifications and form handling allow you to concentrate on your front-end app logic. This Library is suitable for building typical dashboard based applications simple or complex.
Include dashboard.js in your .html or view file
<script src="scripts/lib/dashboard.js"></script>
You can access the global Dashboard, Event, Global, Actions and Handler objects. All functionality is attached to these objects.
var data = Dashboard.serializeFormData();
Dashboard.actionAjax('route/to/your/server', data, function(response) {
console.log(response);
// Do whatever you want with response
});
Contributions are welcome, Check Here :)
Still working on documentation.
The MIT License (MIT). Please see License File for more information.