Timepicker Init-Options
This commit is contained in:
parent
f64ac02ec3
commit
e9c129e2ee
15
app.js
15
app.js
@ -23,15 +23,18 @@ if (!FileReader.prototype.readAsBinaryString) {
|
|||||||
reader.readAsArrayBuffer(file);
|
reader.readAsArrayBuffer(file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var options = {
|
||||||
|
timepicker: {
|
||||||
|
twelveHour: false,
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', function() {
|
document.addEventListener('DOMContentLoaded', function() {
|
||||||
M.AutoInit();
|
M.AutoInit();
|
||||||
|
var elems = document.querySelectorAll('.timepicker');
|
||||||
|
var timepickers = M.Timepicker.init(elems, options.timepicker);
|
||||||
});
|
});
|
||||||
/* $(document).ready(function () {
|
|
||||||
$('.modal').modal();
|
|
||||||
$('.tabs').tabs();
|
|
||||||
$('.fixed-action-btn').floatingActionButton();
|
|
||||||
}); */
|
|
||||||
|
|
||||||
//localStorage persistence
|
//localStorage persistence
|
||||||
|
|
||||||
var SHIFT_STORAGE_KEY = "dienstplan_chrosey";
|
var SHIFT_STORAGE_KEY = "dienstplan_chrosey";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user