Method: Blacklight::Response::PaginationComponent#initialize

Defined in:
app/components/blacklight/response/pagination_component.rb

#initialize(response:, html: {}, **pagination_args) ⇒ PaginationComponent

Returns a new instance of PaginationComponent.

Parameters:

  • response (Blacklight::Response)
  • html (Hash) (defaults to: {})

    html options for the pagination container



9
10
11
12
13
# File 'app/components/blacklight/response/pagination_component.rb', line 9

def initialize(response:, html: {}, **pagination_args)
  @response = response
  @html = html
  @pagination_args = pagination_args
end