You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/DataTable.doc.ts.html
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,8 @@ <h1>DataTable.doc.ts</h1>
94
94
* @property {SortFunction} [sortFunction] - Function for more complex-sorting.
95
95
* @property {boolean} [reverseSort] - True when sorting is reversed.
96
96
* @property {string} [sortColumnID] - The id (or key) property of the column being sorted by.
97
+
* @property {ConstructorOfATypedSvelteComponent} [sortAscendingIcon] - Svelte component class to be displayed in columns that are sorting ascended. Defaults to AngleDownSolid from {@link https://flowbite.com/icons/}
98
+
* @property {ConstructorOfATypedSvelteComponent} [sortDescendingIcon] - Svelte component class to be displayed in columns that are sorting descended. Defaults to AngleUpSolid from {@link https://flowbite.com/icons/}
97
99
* @property {string} [itemKey] - Property to use when distinguish between rows. If not populated, the array index is used.
98
100
* @property {EnterAction} [enterAction] - Determines what pressing the enter key in a focused cell does. Can be 'next', 'down', or 'stay'. Default is 'next'. If 'next', enter will act the same as tab. If 'down', focus will move down to the row below the current one. If 'stay', the enter key will not cause movement.
99
101
* @property {string} [divClassAppend] - Classes to be appended to Table.divClass .
Copy file name to clipboardExpand all lines: docs/common.ts.html
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -164,6 +164,8 @@ <h1>common.ts</h1>
164
164
* @property {string} [thClassOverride] - Class to replace existing CSS for header cells.
165
165
* @property {boolean} [canFocus] - True if cells in this column can be focused.
166
166
* @property {boolean} [canSort] - If true, clicking the column's header will set sorting to sortFunction or sortKey, or reverse it if already set.
167
+
* @property {ConstructorOfATypedSvelteComponent} [sortAscendingIcon] - Svelte component class to be displayed in the column is sorting ascended (overrides table).
168
+
* @property {ConstructorOfATypedSvelteComponent} [sortDescendingIcon] - Svelte component class to be displayed in the column is sorting descended (overrides table).
167
169
* @property {SortFunction} [sortFunction] - Comparison function for complex sorting.
168
170
* @property {string} [sortKey] - Item property to sort by, if sortFunction is not defined.
<tdclass="description last">Svelte component class to be displayed in columns that are sorting ascended. Defaults to AngleDownSolid from <ahref="https://flowbite.com/icons/">https://flowbite.com/icons/</a></td>
<tdclass="description last">Svelte component class to be displayed in columns that are sorting descended. Defaults to AngleUpSolid from <ahref="https://flowbite.com/icons/">https://flowbite.com/icons/</a></td>
Copy file name to clipboardExpand all lines: src/lib/DataTable.doc.ts
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@
7
7
* @property {SortFunction} [sortFunction] - Function for more complex-sorting.
8
8
* @property {boolean} [reverseSort] - True when sorting is reversed.
9
9
* @property {string} [sortColumnID] - The id (or key) property of the column being sorted by.
10
+
* @property {ConstructorOfATypedSvelteComponent} [sortAscendingIcon] - Svelte component class to be displayed in columns that are sorting ascended. Defaults to AngleDownSolid from {@link https://flowbite.com/icons/}
11
+
* @property {ConstructorOfATypedSvelteComponent} [sortDescendingIcon] - Svelte component class to be displayed in columns that are sorting descended. Defaults to AngleUpSolid from {@link https://flowbite.com/icons/}
10
12
* @property {string} [itemKey] - Property to use when distinguish between rows. If not populated, the array index is used.
11
13
* @property {EnterAction} [enterAction] - Determines what pressing the enter key in a focused cell does. Can be 'next', 'down', or 'stay'. Default is 'next'. If 'next', enter will act the same as tab. If 'down', focus will move down to the row below the current one. If 'stay', the enter key will not cause movement.
12
14
* @property {string} [divClassAppend] - Classes to be appended to Table.divClass .
Copy file name to clipboardExpand all lines: src/lib/common.ts
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,8 @@ export type SortFunction = (
77
77
* @property {string} [thClassOverride] - Class to replace existing CSS for header cells.
78
78
* @property {boolean} [canFocus] - True if cells in this column can be focused.
79
79
* @property {boolean} [canSort] - If true, clicking the column's header will set sorting to sortFunction or sortKey, or reverse it if already set.
80
+
* @property {ConstructorOfATypedSvelteComponent} [sortAscendingIcon] - Svelte component class to be displayed in the column is sorting ascended (overrides table).
81
+
* @property {ConstructorOfATypedSvelteComponent} [sortDescendingIcon] - Svelte component class to be displayed in the column is sorting descended (overrides table).
80
82
* @property {SortFunction} [sortFunction] - Comparison function for complex sorting.
81
83
* @property {string} [sortKey] - Item property to sort by, if sortFunction is not defined.
0 commit comments