Topic: Date picker events not included in documentation?
When I click on
https://mdbootstrap.com/docs/b4/jquery/forms/date-picker/#events
No documentation found for events!
Marcin Luczak staff answered 3 years ago
Hi,
Thank you for pointing this out, we will check why this is not provided on the page. For now you can use events documentation from the previous version of the datepicker :
$('.datepicker').datepicker({
onStart: function() {
console.log('Hello there :)')
},
onRender: function() {
console.log('Whoa.. rendered anew')
},
onOpen: function() {
console.log('Opened up')
},
onClose: function() {
console.log('Closed now')
},
onStop: function() {
console.log('See ya.')
},
onSet: function(context) {
console.log('Just set stuff:', context)
}
})
Keep coding, Marcin
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: MDB4 4.19.2
- Device: PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes