Skip to content

Get selected date when using Inline mode. #2823

Closed Answered by Eonasdan
Anzil-Aufait asked this question in Q&A
Discussion options

You must be logged in to vote

Events are dispatched to the attached element and an input (if there is one) so for your example:

document.getElementById('datePicker').addEventListener('change.td', (e) => {
  console.log(e);
});

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Anzil-Aufait
Comment options

Answer selected by Anzil-Aufait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants