Skip to content
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

add zoom in/out feature #45

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

add zoom in/out feature #45

wants to merge 4 commits into from

Conversation

re7w12u
Copy link

@re7w12u re7w12u commented Jan 13, 2018

Hi,
I've been using your module (thanks btw ;) ) in an application and I wanted to leverage the Vis zoomIn zoomOut feature. This leads me to 2 questions :

  • I was able to make it work, but I had to change the node_modules/@types/vis/index.d.ts and add 2 new method signatures in the Timeline class (line 723). I can feel this is kind of wrong. I'm fairly new to this and I'm not sure about how to do it right. What would you suggest?

  • Once it's properly done, would you agree on merging my code?

@re7w12u
Copy link
Author

re7w12u commented Jan 13, 2018

I've also found another way to get the feature by implementing the code directy in the service. see my last commit.
This way, no need for index.d.ts...

@hypery2k
Copy link

@re7w12u are you still interested in adding this feature?

@re7w12u
Copy link
Author

re7w12u commented Mar 14, 2018

@hypery2k Yes, for sure ! Let me know if I can help

@hypery2k
Copy link

if you like you can sent a PR to my fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants