Sha256: 92aa16610c50f93eac454fd6700bdc6d9ce708d9651dbaf17f46326c97d3fd0d

Contents?: true

Size: 347 Bytes

Versions: 1

Compression:

Stored size: 347 Bytes

Contents

# frozen_string_literal: true

module Blacklight
  module Search
    class FacetSuggestInput < Blacklight::Component
      def initialize(facet:, presenter:)
        @facet = facet
        @presenter = presenter
      end

      private

      attr_accessor :facet, :presenter

      def render?
        facet&.suggest
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blacklight-8.8.0 app/components/blacklight/search/facet_suggest_input.rb