Hi Gautam,
Greetings from Syncfusion support.
We have no built in event support when clicking the today button. But we can achieve your requirement by binding the event listener to the today button as like below code example.
Please refer the code example here:
|
[sample.html]
<ejs-datetimepicker (open)="OnPopupOpen($event)"></ejs-datetimepicker>
[sample.ts]
OnPopupOpen() {
setTimeout(() => {
if (document.querySelectorAll(".e-btn.e-today")[0]) {
document
.querySelectorAll(".e-btn.e-today")[0]
.addEventListener("click", function() {
console.log("today button click");
});
}
}, 100);
}
|
Regards,
Sureshkumar P