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

Click to fullscreen / zoom #27

Open
nicolabortignon opened this issue Jun 10, 2015 · 1 comment
Open

Click to fullscreen / zoom #27

nicolabortignon opened this issue Jun 10, 2015 · 1 comment

Comments

@nicolabortignon
Copy link

Hi, Since i saw there is a console.log on event.click I was wondering if there is any plan to expand the picture on click.

@garris
Copy link
Owner

garris commented Jun 10, 2015

@nicolabortignon, No plans to expand this -- but using the click event you could easily add a div on top of the TremulaJS instance and show your image bigger that way. The event includes data from the original image so you can probably reuse the same exact image data (or make another server call from the data in the original object if needed.)

Hope that helps.

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

No branches or pull requests

2 participants