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
Called before actually executing the filter logic. Returning false should abort filtering and not further callbacks should be called.
filterItem
Called for each item. Returning a truthy value will consider the item in the filtering process and add it to the Result.allItems. This can be useful if you want to add custom filtering logic, like if you also filter by the title of the item.
filter
afterFilter
Called after executing the filter logic.
The text was updated successfully, but these errors were encountered:
For now only filterItem will be implemented. It's the only callback which users can't implement themselves. All others can easily be implemented without callbacks. However, other callbacks will be added after version 1.0.0.
When returning a truthy value in the `filterItem` callback, the item
will be considered for filtering. The callback is called for each item
and also for each call of `filter`.
Add new filtering callbacks
false
should abort filtering and not further callbacks should be called.Result.allItems
. This can be useful if you want to add custom filtering logic, like if you also filter by the title of the item.The text was updated successfully, but these errors were encountered: