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

Feature: add realtime path/stroke count callback/event #16

Closed
toblerpwn opened this issue Feb 1, 2018 · 0 comments
Closed

Feature: add realtime path/stroke count callback/event #16

toblerpwn opened this issue Feb 1, 2018 · 0 comments

Comments

@toblerpwn
Copy link
Contributor

Use case: I have an "Undo" button, and I want to disable it when there are 0 strokes on the screen. Using onStrokeStart(), I can tell when the initial strokes begin, but if the canvas reverts to 0 strokes (via undo(), or clear() or any other similar action), there is no callback or event to monitor.

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

1 participant