Module: StimulusPlumbers::Helpers::CalendarTurboHelper

Included in:
StimulusPlumbers::Helpers
Defined in:
lib/stimulus_plumbers/helpers/calendar_turbo_helper.rb

Instance Method Summary collapse

Instance Method Details

#sp_calendar_month_turbo(date: Date.today, today: Date.today, selectable: false, selected_date: nil, show_other_months: false, **html_options) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/stimulus_plumbers/helpers/calendar_turbo_helper.rb', line 6

def sp_calendar_month_turbo(
  date: Date.today,
  today: Date.today,
  selectable: false,
  selected_date: nil,
  show_other_months: false,
  **html_options
)
  calendar_month_turbo_renderer.render(
    date:              date,
    today:             today,
    selectable:        selectable,
    selected_date:     selected_date,
    show_other_months: show_other_months,
    **html_options
  )
end