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/sorting/available-methods.md
+96Lines changed: 96 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,6 +153,102 @@ public function configure(): void
153
153
}
154
154
```
155
155
156
+
## setSortingPillsItemAttributes
157
+
Allows for customisation of the appearance of the "Sorting Pills Item"
158
+
159
+
Note that this utilises a refreshed approach for attributes, and allows for appending to, or replacing the styles and colors independently, via the below methods.
160
+
161
+
#### default-colors
162
+
Setting to false will disable the default colors for the Sorting Pills Item, the default colors are:
'class' => 'bg-rose-300 text-rose-800 dark:bg-indigo-200 dark:text-indigo-900', // Add these classes to the sorting pills item
182
+
'default-colors' => false, // Do not output the default colors
183
+
'default-styling' => true // Output the default styling
184
+
]);
185
+
}
186
+
```
187
+
188
+
## setSortingPillsClearSortButtonAttributes
189
+
Allows for customisation of the appearance of the "Sorting Pills Clear Sort Button"
190
+
191
+
Note that this utilises a refreshed approach for attributes, and allows for appending to, or replacing the styles and colors independently, via the below methods.
192
+
193
+
#### default-colors
194
+
Setting to false will disable the default colors for the Sorting Pills Clear Sort Button, the default colors are:
'class' => 'text-rose-400 hover:bg-rose-200 hover:text-rose-500 focus:bg-rose-500', // Add these classes to the sorting pills clear sort button
214
+
'default-colors' => false, // Do not output the default colors
215
+
'default-styling' => true // Output the default styling
216
+
]);
217
+
}
218
+
```
219
+
220
+
## setSortingPillsClearAllButtonAttributes
221
+
Allows for customisation of the appearance of the "Sorting Pills Clear All Button"
222
+
223
+
Note that this utilises a refreshed approach for attributes, and allows for appending to, or replacing the styles and colors independently, via the below methods.
224
+
225
+
#### default-colors
226
+
Setting to false will disable the default colors for the Sorting Pills Clear All Button, the default colors are:
0 commit comments