Skip to content

Commit 565e970

Browse files
committed
jsdoc
1 parent a9ff9fc commit 565e970

File tree

6 files changed

+8
-4
lines changed

6 files changed

+8
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ I am very happy to accept;
241241

242242
### Svelte 3
243243

244-
Because of the code in Range Slider Pips 3, it is now incompatible with Svelte version 3.
244+
Because of the code in Range Slider Pips 3, it is now incompatible with Svelte version 3.
245245

246246
If you are unable to upgrade your project, then I suggest looking for [Svelte-Range-Slider-Pips version `2.3.1`](https://github.com/simeydotme/svelte-range-slider-pips/tree/2.3.1) which
247247
will not be upgraded, but it's still pretty robust. You can install it like so;
@@ -261,8 +261,7 @@ npm install [email protected] --save-dev # if you prefer npm
261261

262262
I'd be super excited if you find this project useful and wish to donate a small amount for my efforts!
263263

264-
| <img src="https://user-images.githubusercontent.com/2817396/149629283-6002944f-9253-4e35-917d-89b476deae4e.png" width=30> | [![£1 One Pound Tip](https://user-images.githubusercontent.com/2817396/149629980-08b9a952-bd6a-4c23-be78-05e3fd534352.png)](https://www.paypal.com/paypalme/simey/1) | [£1 GBP Tip](https://www.paypal.com/paypalme/simey/1) |
265-
| ------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | ------------------------------------------------------------ |
264+
| <img src="https://user-images.githubusercontent.com/2817396/149629283-6002944f-9253-4e35-917d-89b476deae4e.png" width=30> | [![£1 One Pound Tip](https://user-images.githubusercontent.com/2817396/149629980-08b9a952-bd6a-4c23-be78-05e3fd534352.png)](https://www.paypal.com/paypalme/simey/1) | [£1 GBP Tip](https://www.paypal.com/paypalme/simey/1) |
265+
| ------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------: | ------------------------------------------------------- |
266266
| <img src="https://user-images.githubusercontent.com/2817396/149629283-6002944f-9253-4e35-917d-89b476deae4e.png" width=30> | [![£5 Five Pound Tip](https://user-images.githubusercontent.com/2817396/149629994-3a99770c-d333-46e7-9818-ab6b18ad0202.png)](https://www.paypal.com/paypalme/simey/5) | [£5 GBP Tip](https://www.paypal.com/paypalme/simey/5) |
267267
| <img src="https://user-images.githubusercontent.com/2817396/149629283-6002944f-9253-4e35-917d-89b476deae4e.png" width=30> | [![£10 Ten Pound Tip](https://user-images.githubusercontent.com/2817396/149630000-95aa4234-ff67-4e7c-a7f4-ffd52f25e6d8.png)](https://www.paypal.com/paypalme/simey/10) | [£10 GBP Tip](https://www.paypal.com/paypalme/simey/10) |
268-

dist/range-slider-pips.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1532,6 +1532,7 @@
15321532
* @param max the maximum value of the range slider
15331533
* @param pipStep the step of the pips
15341534
* @param step the step of the range slider
1535+
* @param precision the precision to check against
15351536
* @returns {number} the value of the pip
15361537
*/
15371538
const getValueFromIndex = (index, min, max, pipStep, step, precision = 2) => {

dist/range-slider-pips.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1526,6 +1526,7 @@ const isSelected = (value, values, precision = 2) => {
15261526
* @param max the maximum value of the range slider
15271527
* @param pipStep the step of the pips
15281528
* @param step the step of the range slider
1529+
* @param precision the precision to check against
15291530
* @returns {number} the value of the pip
15301531
*/
15311532
const getValueFromIndex = (index, min, max, pipStep, step, precision = 2) => {

dist/svelte/utils.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export declare const isSelected: (value: number, values: number[], precision?: n
7979
* @param max the maximum value of the range slider
8080
* @param pipStep the step of the pips
8181
* @param step the step of the range slider
82+
* @param precision the precision to check against
8283
* @returns {number} the value of the pip
8384
*/
8485
export declare const getValueFromIndex: (index: number, min: number, max: number, pipStep: number, step: number, precision?: number) => number;

dist/svelte/utils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ export const isSelected = (value, values, precision = 2) => {
147147
* @param max the maximum value of the range slider
148148
* @param pipStep the step of the pips
149149
* @param step the step of the range slider
150+
* @param precision the precision to check against
150151
* @returns {number} the value of the pip
151152
*/
152153
export const getValueFromIndex = (index, min, max, pipStep, step, precision = 2) => {

src/lib/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ export const isSelected = (value: number, values: number[], precision: number =
163163
* @param max the maximum value of the range slider
164164
* @param pipStep the step of the pips
165165
* @param step the step of the range slider
166+
* @param precision the precision to check against
166167
* @returns {number} the value of the pip
167168
*/
168169
export const getValueFromIndex = (

0 commit comments

Comments
 (0)