@get-set/gs-sortable 0.0.19 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -20,6 +20,7 @@ const params = {
|
|
|
20
20
|
reference: PropTypes.string,
|
|
21
21
|
handler: PropTypes.string,
|
|
22
22
|
className: PropTypes.string,
|
|
23
|
+
afterSort: PropTypes.func,
|
|
23
24
|
gsx: PropTypes.object,
|
|
24
25
|
gap: PropTypes.string,
|
|
25
26
|
allowOutOfBox: PropTypes.bool,
|
|
@@ -36,6 +37,7 @@ const params = {
|
|
|
36
37
|
* @param {boolean} props.className - Enable add classes.
|
|
37
38
|
* @param {React.CSSProperties & Record<string, React.CSSProperties | Record<string, React.CSSProperties | Record<string, React.CSSProperties | Record<string, React.CSSProperties>>>} props.gsx
|
|
38
39
|
* @param {string} props.gap - Allows set gap among elements.
|
|
40
|
+
* @param {func} props.afterSort - this is callback function which called after sort.
|
|
39
41
|
* @param {string} props.handler - selector of target element to move.
|
|
40
42
|
* @param {number} props.count - Shows items count per row.
|
|
41
43
|
* @param {'row' | 'column' | 'grid'} props.type - this is the type of prop.
|