Sha256: 10f0d8365d16faba3dce505585cce5444195c0f23fcf022a9d0a28ae9710c6f7

Contents?: true

Size: 959 Bytes

Versions: 5

Compression:

Stored size: 959 Bytes

Contents

# frozen_string_literal: true

class UserReflex < ApplicationReflex
  # Add Reflex methods in this file.
  #
  # All Reflex instances expose the following properties:
  #
  #   - connection - the ActionCable connection
  #   - channel - the ActionCable channel
  #   - request - an ActionDispatch::Request proxy for the socket connection
  #   - session - the ActionDispatch::Session store for the current visitor
  #   - url - the URL of the page that triggered the reflex
  #   - element - a Hash like object that represents the HTML element that triggered the reflex
  #   - params - parameters from the element's closest form (if any)
  #
  # Example:
  #
  #   def example(argument=true)
  #     # Your logic here...
  #     # Any declared instance variables will be made available to the Rails controller and view.
  #   end
  #
  # Learn more at: https://docs.stimulusreflex.com

  def update
  end

  def do_stuff
  end

  def do_more_stuff
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stimulus_reflex-3.4.0.pre3 test/tmp/app/reflexes/user_reflex.rb
stimulus_reflex-3.4.0.pre2 test/tmp/app/reflexes/user_reflex.rb
stimulus_reflex-3.4.0.pre1 test/tmp/app/reflexes/user_reflex.rb
stimulus_reflex-3.4.0.pre0 test/tmp/app/reflexes/user_reflex.rb
stimulus_reflex-3.3.0.pre3 test/tmp/app/reflexes/user_reflex.rb