-
Notifications
You must be signed in to change notification settings - Fork 12k
Convert helpers.extra to TS #10728
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
Convert helpers.extra to TS #10728
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -242,10 +242,7 @@ function createProxyAndListen(chart, type, listener) { | |
| if (chart.ctx !== null) { | ||
| listener(fromNativeEvent(event, chart)); | ||
| } | ||
| }, chart, (args) => { | ||
| const event = args[0]; | ||
| return [event, event.offsetX, event.offsetY]; | ||
| }); | ||
| }, chart); | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Initially I had provided some very complex types for |
||
|
|
||
| addListener(canvas, type, proxy); | ||
|
|
||
|
|
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,6 @@ | ||
| export * from './helpers.canvas'; | ||
| export * from './helpers.curve'; | ||
| export * from './helpers.dom'; | ||
| export * from './helpers.extras'; | ||
| export * from './helpers.options'; | ||
| export * from './helpers.canvas'; | ||
| export * from './helpers.segment'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want the
fontStyletypes as the different types like bold, italic etc?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could. Not sure how complicated that might be given all the combinations of styles that could be supplied
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably not worth the effort