Sha256: 61dae08bb506ccf8581d73dfe4c417d334aaf179a6bcd4321e80b3b299be4531

Contents?: true

Size: 891 Bytes

Versions: 3

Compression:

Stored size: 891 Bytes

Contents

# frozen_string_literal: true

class PostsReflex < 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
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stimulus_reflex-3.4.0.pre5 test/tmp/app/reflexes/posts_reflex.rb
stimulus_reflex-3.4.0.pre4 test/tmp/app/reflexes/posts_reflex.rb
stimulus_reflex-3.2.3 test/tmp/app/reflexes/posts_reflex.rb