Skip to content

Commit a4da71c

Browse files
opheliagoldsteinqwerty541
authored andcommitted
chore: make create progress node function jsdoc shorter (anuraghazra#4441)
Co-authored-by: Alexandr <[email protected]>
1 parent adc0b52 commit a4da71c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/common/createProgressNode.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ import { clampValue } from "./utils.js";
55
/**
66
* Create a node to indicate progress in percentage along a horizontal line.
77
*
8-
* @param {Object} createProgressNodeParams Object that contains the createProgressNode parameters.
9-
* @param {number} createProgressNodeParams.x X-axis position.
10-
* @param {number} createProgressNodeParams.y Y-axis position.
11-
* @param {number} createProgressNodeParams.width Width of progress bar.
12-
* @param {string} createProgressNodeParams.color Progress color.
13-
* @param {number} createProgressNodeParams.progress Progress value.
14-
* @param {string} createProgressNodeParams.progressBarBackgroundColor Progress bar bg color.
15-
* @param {number} createProgressNodeParams.delay Delay before animation starts.
8+
* @param {Object} params Object that contains the createProgressNode parameters.
9+
* @param {number} params.x X-axis position.
10+
* @param {number} params.y Y-axis position.
11+
* @param {number} params.width Width of progress bar.
12+
* @param {string} params.color Progress color.
13+
* @param {number} params.progress Progress value.
14+
* @param {string} params.progressBarBackgroundColor Progress bar bg color.
15+
* @param {number} params.delay Delay before animation starts.
1616
* @returns {string} Progress node.
1717
*/
1818
const createProgressNode = ({

0 commit comments

Comments
 (0)