Skip to content

feat: support custom zoom buttons#182

Merged
themustafaomar merged 2 commits intomainfrom
feature/custom-zoom-buttons
Apr 12, 2025
Merged

feat: support custom zoom buttons#182
themustafaomar merged 2 commits intomainfrom
feature/custom-zoom-buttons

Conversation

@themustafaomar
Copy link
Copy Markdown
Owner

@themustafaomar themustafaomar commented Apr 11, 2025

Resolves #144

Adding multiple options to support custom progrmatic zoom buttons:

  // Using a selector
  ...
  zoomInButton: '#zoomin',
  zoomOutButton: '#zoomout',

  // Using an element.
  zoomInButton: document.querySelector('#zoomin'),
  zoomOutButton: document.querySelector('#zoomout'),
  ...

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jvm-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 11, 2025 11:56pm

@themustafaomar themustafaomar merged commit c13b5d4 into main Apr 12, 2025
2 checks passed
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.

Programmatic zoom in, zoom out and reset zoom

1 participant