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

feat: add trigger to onZoom context #901

Merged
merged 3 commits into from
Nov 26, 2024
Merged

feat: add trigger to onZoom context #901

merged 3 commits into from
Nov 26, 2024

Conversation

kurkle
Copy link
Member

@kurkle kurkle commented Nov 22, 2024

Add trigger property to the onZoom context object, indication what triggeder the zoom. Possible values: 'api', 'drag', 'wheel', 'pinch'.

Copy link

Size Change: +89 B (+0.43%)

Total Size: 20.8 kB

Filename Size Change
dist/chartjs-plugin-zoom.esm.js 7.54 kB +30 B (+0.4%)
dist/chartjs-plugin-zoom.js 7.68 kB +29 B (+0.38%)
dist/chartjs-plugin-zoom.min.js 5.61 kB +30 B (+0.54%)

compressed-size-action

@kurkle kurkle merged commit edcf386 into master Nov 26, 2024
11 of 12 checks passed
@yubiuser
Copy link
Contributor

Thanks.

@kurkle kurkle deleted the fix/on-zoom branch December 4, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants