Move zoomEvents to events #45

Open
opened 4 weeks ago by glitch4347 · 2 comments
Owner

It's a bit not coherent that we have events and zoomEvents separately.
I think we shoudl move zoomEvents to events
Maybe as inner property events.zoom or just put all props from zoomEvents to events

It's a bit not coherent that we have `events` and `zoomEvents` separately. I think we shoudl move `zoomEvents` to `events` Maybe as inner property `events.zoom` or just put all props from `zoomEvents` to `events`
Poster
Owner

In this PR would be also good to fix param name zoomIn?: (range: AxisRange[]) => void, to ranges because it's multiple ranges

In this PR would be also good to fix param name ` zoomIn?: (range: AxisRange[]) => void,` to `ranges` because it's multiple ranges
Owner

@glitch4347

I agree having both zoomEvents and events is a bit misleading, but I don't think moving zoomEvents into events is a good idea, because they're different entities (events are callbacks, zoomEvents are basically zoom settings)

Maybe we can just name them better? Or do you want to have both zoom settings and callbacks in one place?

@glitch4347 I agree having both `zoomEvents` and `events` is a bit misleading, but I don't think moving `zoomEvents` into `events` is a good idea, because they're different entities (`events` are callbacks, `zoomEvents` are basically zoom settings) Maybe we can just name them better? Or do you want to have both zoom settings and callbacks in one place?
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.