Class: AttributeTarget

Inherits:
ComponentNode show all
Defined in:
lib/volt/templates/targets/attribute_target.rb

Overview

AttributeTarget’s provide an interface that can render bindings into a string that can then be used to update a attribute binding.

Instance Attribute Summary

Attributes inherited from ComponentNode

#binding_id, #nodes, #parent

Attributes included from Events

#scope

Instance Method Summary collapse

Methods inherited from ComponentNode

#<<, #find_by_binding_id, #html=, #initialize, #inspect, #remove, #remove_anchors, #text=, #to_html

Methods included from Events

#add_event_follower, #add_event_to_chains, #add_following, #all_listeners_for, #event_chain, #event_followers, #event_followings, #listeners, #on, #remove_event_follower, #remove_event_from_chains, #remove_following, #remove_listener, #trigger!, #trigger_by_scope!

Constructor Details

This class inherits a constructor from ComponentNode

Instance Method Details

#section(*args) ⇒ Object



15
16
17
# File 'lib/volt/templates/targets/attribute_target.rb', line 15

def section(*args)
  return AttributeSection.new(self, *args)
end

#skip_current_queue_flushObject

TODO: improve



11
12
13
# File 'lib/volt/templates/targets/attribute_target.rb', line 11

def skip_current_queue_flush
  true
end