Sha256: 48ad7dfa979f0523078ee8a61f3c1d585214cbb0d774f1709566eeeaf93828e1
Contents?: true
Size: 834 Bytes
Versions: 4
Compression:
Stored size: 834 Bytes
Contents
# frozen_string_literal: true class <%= class_name %>Reflex < 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 # # 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
4 entries across 4 versions & 1 rubygems