Sha256: bbafa3200be43acd342599f87cd12eb7a3e87bd5f2bd9b31ff7b922ebf4c842c
Contents?: true
Size: 838 Bytes
Versions: 15
Compression:
Stored size: 838 Bytes
Contents
# frozen_string_literal: true class <%= @name.classify %>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
15 entries across 15 versions & 1 rubygems