Sha256: 93b1eb5dd05d25789ab01509e255b5ab061ea49c76cdcb43a665be3b3d90b4b4
Contents?: true
Size: 891 Bytes
Versions: 3
Compression:
Stored size: 891 Bytes
Contents
# frozen_string_literal: true class DemoReflex < 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