Skip to content

Conversation

@RickyTB
Copy link

@RickyTB RickyTB commented Dec 31, 2021

This PR adds the functionality to choose which mouse button you prefer in order to pan the element. Defaults to left mouse button.

panzoom(element, {
  panButton: 'left' | 'middle',
});

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.

1 participant