Method: ReactiveArray#trigger_on_direct_listeners!

Defined in:
lib/volt/reactive/reactive_array.rb

#trigger_on_direct_listeners!(event, *args) ⇒ Object



154
155
156
157
158
159
160
161
# File 'lib/volt/reactive/reactive_array.rb', line 154

def trigger_on_direct_listeners!(event, *args)
  trigger_by_scope!(event, *args) do |scope|
    # Only if it is bound directly to us.  Don't pass
    # down the chain
    !scope || scope[0] == nil
  end
  
end