vis-timeline icon indicating copy to clipboard operation
vis-timeline copied to clipboard

Invoke set range callback always and pass info about change

Open zanella opened this issue 2 years ago • 0 comments

The callback on zoomIn/zoomOut are only invoked inside setRange() when there's an actual change.

This makes it hard to decide what to do when using said functions (e.g. disable the zoom button if the max has been reached)

This change makes the button always be called, and to receive a new parameter, telling if a range change happened or not.


The linter pattern was not working (mac OS / zsh), now it is (npm run lint), but there are 78 problems 😅

zanella avatar Oct 23 '23 14:10 zanella