mirror of
https://gitee.com/coder-xiaomo/flashsale
synced 2025-09-13 23:41:39 +08:00
添加Metronic(作为LFS)
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
var UIDatepaginator = function () {
|
||||
|
||||
return {
|
||||
|
||||
//main function to initiate the module
|
||||
init: function () {
|
||||
|
||||
//sample #1
|
||||
$('#datepaginator_sample_1').datepaginator();
|
||||
|
||||
//sample #2
|
||||
$('#datepaginator_sample_2').datepaginator({
|
||||
size: "large"
|
||||
});
|
||||
|
||||
//sample #3
|
||||
$('#datepaginator_sample_3').datepaginator({
|
||||
size: "small"
|
||||
});
|
||||
|
||||
//sample #3
|
||||
$('#datepaginator_sample_4').datepaginator({
|
||||
onSelectedDateChanged: function(event, date) {
|
||||
alert("Selected date: " + moment(date).format("Do, MMM YYYY"));
|
||||
}
|
||||
});
|
||||
|
||||
} // end init
|
||||
|
||||
};
|
||||
|
||||
}();
|
Reference in New Issue
Block a user