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
You can define which actions your list should support through the `supportedListActions` property of your `ListService` instance.
91
-
Choose between `delete`, `move`, `moveAndDelete` and `none`. The default is `none`.
91
+
Choose between `delete`, `move`, `moveAndDelete` and `none`. **The default is `none`.**
92
92
93
93
```swift
94
94
let listService =ListService()
@@ -101,7 +101,7 @@ listService.supportedListActions = .moveAndDelete(onMove: { indexSet, index in
101
101
102
102
### 🎛️ Filtering
103
103
104
-
The `AdvancedList` supports filtering (disabled by default). You only have to set the closure `excludeItem: (AnyListItem) -> Bool)` on your `ListService` instance.
104
+
The `AdvancedList` supports filtering (**disabled by default**). You only have to set the closure `excludeItem: (AnyListItem) -> Bool)` on your `ListService` instance.
105
105
`AnyListItem` gives you access to the item (`Any`). **Keep in mind that you have to cast this item to your custom type!**
0 commit comments