-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: different delta
for each side
#258
Comments
@macabeus Thank you for the issue and suggesting with the excellent write up! I love the proposed backwards compatible API approach 👍 If you need this functionality i'm sure there are others that could find it useful if not now then also in the future. We'd absolutely be open to a PR. The approach you suggest looks straightforward. There is a caveat around Lines 3 to 6 in a7e596a
Which are "Pascal" case, so the first letter is capitalized. For better or worse, this is because they are used to concat the handlers: Lines 190 to 193 in a7e596a
So the
💭 🤔 how does that look to you? I like it tied to the |
Thanks for the reply! |
Firstly, thank you for this component! It's very useful and well written!
So, on my project, I would like to have a different
delta
for each side. For example...Instead of only:
I would like to have:
Looking by the code, it should be simple to add. Something like here with:
I could open a PR doing that.
It's not a breaking change since we can continue to write only
{ delta: number }
. It's only an additional on the API.Thanks!
The text was updated successfully, but these errors were encountered: