Class: AttributeTarget

Inherits:
ComponentNode show all
Defined in:
lib/volt/page/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

Instance Method Summary collapse

Methods inherited from ComponentNode

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

Methods included from Events

#event_chain, #has_listeners?, #listeners, #on, #remove_listener, #trigger!, #trigger_by_scope!, #trigger_for_methods!

Constructor Details

This class inherits a constructor from ComponentNode

Instance Method Details

#dom_section(*args) ⇒ Object



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

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