Semantic-UI icon indicating copy to clipboard operation
Semantic-UI copied to clipboard

[Search] Add "onResults" callback setting

Open AlexandreGagner opened this issue 9 years ago • 2 comments

Hi, The actual callback onResults is called only in generateResults function, so when there are new results from server. It would be nice to have new callback, when we have result from "Local search results" too.

The 'new' onResults would be called when showing results from previous search too.

AlexandreGagner avatar Apr 28 '17 11:04 AlexandreGagner

I second this, the important thing here is that the new onResult callback still has the response so you can still do: onResult: function(response) { //Handle response data } If you do not need the response data you can do onResultsOpen or onResultsAdd

Kjaal avatar May 05 '17 11:05 Kjaal

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 23 '18 12:02 stale[bot]