DashJS is a Javascript library specially designed for dashboard based web apps but also can be used for all web application. DashJS handles events, asyncronous views/pages, AJAX requests and responses, form handling, resource actions etc., allowing you to concentrate on your application logic.
Include dist/dash.min.js in dashboard home
<script src="js/dash.min.js"></script>
npm
npm i dashjs --save
All functionality is wrapped within the Dash
object.
Dash.request('route/to/your/server', data, function(response) {
console.log(response);
// Do whatever you want with response
});
Documentation here
Contributions are welcome, Check Here :)
The MIT License (MIT). Please see License File for more information.