Sha256: 3df00a7b15b4ffac9a44189387b3aee2324caf6e26900cf245e66c5b63a56cd8

Contents?: true

Size: 459 Bytes

Versions: 35

Compression:

Stored size: 459 Bytes

Contents

# frozen_string_literal: true

class Avo::PaginatorComponent < ViewComponent::Base
  attr_reader :pagy
  attr_reader :turbo_frame
  attr_reader :index_params
  attr_reader :resource
  attr_reader :parent_model

  def initialize(resource: nil, parent_model: nil, pagy: nil, turbo_frame: nil, index_params: nil)
    @pagy = pagy
    @turbo_frame = turbo_frame
    @index_params = index_params
    @resource = resource
    @parent_model = parent_model
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
avo-2.8.0 app/components/avo/paginator_component.rb
avo-2.7.1.pre.1 app/components/avo/paginator_component.rb
avo-2.7.0 app/components/avo/paginator_component.rb
avo-2.6.1.pre.2 app/components/avo/paginator_component.rb
avo-2.6.1.pre.1 app/components/avo/paginator_component.rb
avo-2.6.0 app/components/avo/paginator_component.rb
avo-2.5.2.pre.7 app/components/avo/paginator_component.rb
avo-2.5.2.pre.6 app/components/avo/paginator_component.rb
avo-2.5.2.pre.5 app/components/avo/paginator_component.rb
avo-2.5.2.pre.4 app/components/avo/paginator_component.rb
avo-2.5.2.pre.3 app/components/avo/paginator_component.rb
avo-2.5.2.pre.2 app/components/avo/paginator_component.rb
avo-2.5.2.pre.1 app/components/avo/paginator_component.rb
avo-2.5.1 app/components/avo/paginator_component.rb
avo-2.5.0 app/components/avo/paginator_component.rb