Skip to content

Commit

Permalink
fix(doc): add doc for isFirstRendering
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Stanislawski committed Apr 6, 2017
1 parent 4da1880 commit cea6739
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Full documentation available at https://community.algolia.com/instantsearch.js/c

/**
* Creates a custom HitsPerPage widget factory.
* @param {function(HitsPerPageRenderingOptions, boolean)} renderFn function that renders the hits widget
* @param {function(HitsPerPageRenderingOptions, boolean)} renderFn function that renders the hits widget, the boolean indicates if the current call is the first one / the one before the first search.
* @return {function(HitsPerPageWidgetOptions)} a custom HitsPerPage widget factory
*/
export default function connectHitsPerPageSelector(renderFn) {
Expand Down

0 comments on commit cea6739

Please sign in to comment.