Sha256: 114b70bdb7e6549995c1c2aec496ba068216b1f15feac8172e65271484ce2cdd

Contents?: true

Size: 255 Bytes

Versions: 2

Compression:

Stored size: 255 Bytes

Contents

module StimulusReflex
  class SelectorMorphMode < MorphMode
    def broadcast(reflex, selectors, data)
      broadcast_message subject: "selector", data: data
    end

    def to_sym
      :selector
    end

    def selector?
      true
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stimulus_reflex-3.3.0.pre1 lib/stimulus_reflex/morph_mode/selector_morph_mode.rb
stimulus_reflex-3.3.0.pre0 lib/stimulus_reflex/morph_mode/selector_morph_mode.rb