Sha256: 58e77cf9d93c2fe2f57e7793eec27e861b4bd6839de38aea9b07f695b74fd5d9
Contents?: true
Size: 821 Bytes
Versions: 18
Compression:
Stored size: 821 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 # # 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
18 entries across 18 versions & 1 rubygems