Class: BlacklightRangeLimit::RangeInputComponent

Inherits:
Blacklight::Component
  • Object
show all
Defined in:
app/components/blacklight_range_limit/range_input_component.rb

Instance Method Summary collapse

Constructor Details

#initialize(input_name:, input_value:, label_text:, min_value:, max_value:, css_class:) ⇒ RangeInputComponent

Returns a new instance of RangeInputComponent.



5
6
7
8
9
10
11
12
# File 'app/components/blacklight_range_limit/range_input_component.rb', line 5

def initialize(input_name:, input_value:, label_text:, min_value:, max_value:, css_class:)
  @input_name = input_name
  @input_value = input_value
  @label_text = label_text
  @min_value = min_value
  @max_value = max_value
  @css_class = css_class
end