question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pass the event to the onDateSelected callback

See original GitHub issue

Hi! 👋

I’m trying to work on this issue, but I can’t achieve it at the moment because we are not passing the event to the onDateSelected callback here.

Are you in favor of adding it as a second argument (to prevent a breaking change)?

If so, I’d like to work on it 😃

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mkartchner994commented, Oct 23, 2019

@arthurdenner This was released as v3.1.0 - https://github.com/deseretdigital/dayzed/releases/tag/v3.1.0

Thanks for the PR!

1reaction
mkartchner994commented, Oct 23, 2019

Rouge button click that closed the issue 🤦‍♂

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I pass an argument to the callback function of an ...
The wrapper can pass the event to the actual callback if desired. const item = 'foo'; document.querySelector('.container').
Read more >
Passing Event Object and Other arguments to Callback Function
Suppose I want to pass the event object along with other parameters to the callback function in the addEventLististener as shown below, ...
Read more >
How to pass a parameter to an event handler or callback
This will help you to understand the underlying logic of event handlers and passing parameters through it. Creating React Project: Step 1: To ......
Read more >
Passing Arguments to Event Listeners in JavaScript
Since an event handler is nothing other than a callback function, you can use the same approach to pass arguments to any other...
Read more >
Callbacks and Events — Katana Developer Guide
A queue for passing and handling events. Events are a combination of a string eventType and an eventID. The eventID is almost always...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found