aurelia-bootstrap-datetimepicker
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "aurelia-bootstrap-datetimepicker", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "An Aurelia Custom Element for the 3rd party addon [Eonasdan Bootstrap Datepicker]", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -267,2 +267,10 @@ # Aurelia-Bootstrap-Datetimepicker | ||
import 'aurelia-bootstrap-datetimepicker/dist/amd/bootstrap-datetimepicker-bs4.css'; | ||
// in the main.js file change the bootstrapVersion | ||
aurelia.use.plugin('aurelia-bootstrap-datetimepicker', config => { | ||
config.extra.bootstrapVersion = 4; | ||
// you can also change the button class, default is shown below | ||
config.extra.buttonClass = 'btn btn-outline-secondary'; | ||
}); | ||
``` | ||
@@ -295,2 +303,8 @@ | ||
config.options.allowInputToggle = true; | ||
// if you use Bootstrap 4 Beta 3 | ||
config.extra.bootstrapVersion = 4; | ||
// you can also change the Bootstrap 4 button class, default is shown below | ||
config.extra.buttonClass = 'btn btn-outline-secondary'; | ||
}); | ||
@@ -297,0 +311,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
358541
342