Skip to content

Commit 397ee15

Browse files
author
Hesam Bahrami
authored
docs: improve the NestedSort class constructor JSDoc (#37)
1 parent c88910b commit 397ee15

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/main.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ class NestedSort {
44

55
/**
66
* @constructor
7-
* @param {{onDrop: function}} actions
8-
* @param {array} data
9-
* @param {number} droppingEdge
10-
* @param {string} el
11-
* @param {array|string} listClassNames
12-
* @param {array|string} listItemClassNames
13-
* @param {number|string} nestingLevels
7+
* @param {object} [actions={}]
8+
* @param {array} [data]
9+
* @param {number} [droppingEdge=15]
10+
* @param {string|HTMLElement} el
11+
* @param {boolean} [init=true]
12+
* @param {array|string} [listClassNames]
13+
* @param {array|string} [listItemClassNames]
14+
* @param {number|string} [nestingLevels]
1415
* @param {object} [propertyMap={}]
1516
*/
1617
constructor({

0 commit comments

Comments
 (0)