Closed kmorales13 closed 1 year ago
In the function setRange, range values of 0 will be treated as falsy. These should be valid, for example, if we want to show only the first slide.
setRange
0
Input:
slides: [1,2,3], ... range: { min: 0, max: 0, }
Output:
minIdx: 0, maxIdx: 2,
Expected:
minIdx: 0, maxIdx: 0,
In the function
setRange
, range values of0
will be treated as falsy. These should be valid, for example, if we want to show only the first slide.Input:
Output:
Expected: