Thursday, June 04, 2026 2:13:10 AM
> stimulus_helper.rb
# frozen_string_literal: true

module StimulusHelper
  def stimulus_event_action_string(event:, from:, to:, method:, global: true)
    action = "#{from}:#{event}"
    action += "@window" if global

    "#{action}->#{to}##{method}"
  end
end
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 4294fb2