sift.js
sift.js copied to clipboard
Does sift.js support callbacks?
... where I can pass in a custom javascript function that will be executed against the app state.
Here's an example of a callback feature in a similar tool - https://github.com/davidgtonge/underscore-query#cb
You can use the $where operator fot that.
Hey @thardy, there are a few options to do this: you can use $where as @J3m5 mentioned, or you can add your own custom behavior. Let me know if this answers your question!