dashboardjs

A library for developing dashboard based web applications, handles views/pages, dashboard events and resource requests

Usage no npm install needed!

<script type="module">
  import dashboardjs from 'https://cdn.skypack.dev/dashboardjs';
</script>

README

DashboardJS

Software License

DashboardJS is a Javascript library that handles dashboard events, asyncronous views, AJAX requests and responses, form handling and resource actions, allowing you to concentrate on your front-end application logic. This Library is suitable for building typical web admin dashboard applications simple or complex.

Install

Include dist/dashboard.min.js in dashboard home

<script src="your-js-directory/dashboard.min.js"></script>

Usage

You can access the global Dashboard, Events, Global, Actions and Handlers 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
});

Contributing

Contributions are welcome, Check Here :)

Documentation

Documentation here updates coming

License

The MIT License (MIT). Please see License File for more information.