andrewboy / LaravelStatisticsPanel by andrewboy

Laravel package for statistics panel.
169
0
1
Package Data
Maintainer Username: andrewboy
Maintainer Contact: andras.jozsef.beck@gmail.com (Beck András)
Package Create Date: 2016-05-06
Package Last Update: 2017-03-08
Language: JavaScript
License: Unknown
Last Refreshed: 2024-11-26 15:09:54
Package Statistics
Total Downloads: 169
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

LaravelStatisticsPanel

readme

(function(stat_widgets){ function StatDiaperGrid(id) { this.id = id; }

StatDiaperGrid.prototype = Object.create(window.statistics_panel.widgets.grid.prototype);
StatDiaperGrid.prototype.constructor = StatDiaperGrid;
StatDiaperGrid.prototype.init = function() {};
StatDiaperGrid.prototype.update = function(data) {
    this.setGrid(data.data);
    $('.summary', this.getFooter()).text(data.total);
};

stat_widgets.diaper_grid = StatDiaperGrid;

}(window.statistics_panel.stat_widgets));