How To
Documentation
    Learn More

      search:results-per-page

      Description

      The Results Per Page Directive allows you to change the number of documents that are returned from the platform. The results per page tag should be wrapped in a Layout Controls Tag.

      Usage

      as element:
      <search:results-per-page
             response="{object}"
             [title="{string}"]
             [options="{string}"]>
      </search:results-per-page>

      Directive info

      • This directive creates new scope.

      Parameters

      ParamTypeDetails
      responseobject

      A response object

      title
      (optional)
      string

      The title to display before the result count options.

      options
      (optional)
      string

      Which options to provide the user. Should be a comma-separated list of integers.

      Example

      Source

      
      
      
      
      
      

      Demo