Class: Volt::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

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

Methods included from Eventable

#on, #remove_listener, #trigger!

Constructor Details

This class inherits a constructor from Volt::ComponentNode

Instance Method Details

#dom_section(*args) ⇒ Object



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

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