Class: Volt::DomTarget

Inherits:
BaseSection show all
Defined in:
lib/volt/page/targets/dom_target.rb

Overview

DomTarget’s provide an interface that can render bindings into the dom. Currently only one “dom” is supported, but multiple may be allowed in the future (iframes?)

Instance Method Summary collapse

Methods inherited from BaseSection

#insert_anchor_before_end, #remove, #remove_anchors, #set_content_to_template

Instance Method Details

#dom_section(*args) ⇒ Object



9
10
11
# File 'lib/volt/page/targets/dom_target.rb', line 9

def dom_section(*args)
  DomSection.new(*args)
end