sift.js icon indicating copy to clipboard operation
sift.js copied to clipboard

Does sift.js support callbacks?

Open thardy opened this issue 3 years ago • 2 comments

... 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

thardy avatar Aug 31 '22 19:08 thardy

You can use the $where operator fot that.

J3m5 avatar Aug 31 '22 21:08 J3m5

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!

crcn avatar Sep 01 '22 15:09 crcn