Module: FoxTail::Concerns::HasStimulusController

Instance Method Summary collapse

Instance Method Details

#before_renderObject



10
11
12
13
14
# File 'app/components/fox_tail/concerns/has_stimulus_controller.rb', line 10

def before_render
  super

  stimulus_controller.merge! html_attributes, stimulus_controller_options if use_stimulus?
end

#stimulus_controller_optionsObject

Raises:

  • (NotImplementedError)


16
17
18
# File 'app/components/fox_tail/concerns/has_stimulus_controller.rb', line 16

def stimulus_controller_options
  raise NotImplementedError
end