class Navigatrix::Rendering::Strategies::Bootstrap::Navbar::Item

Private Instance Methods

dropdown_icon() click to toggle source
html_attributes() click to toggle source
# File lib/navigatrix/rendering/strategies/bootstrap/navbar.rb, line 22
def html_attributes
  super.merge_attribute(:class, "dropdown")
end
name() click to toggle source
# File lib/navigatrix/rendering/strategies/bootstrap/navbar.rb, line 26
def name
  (super + dropdown_icon).html_safe
end
nested_list() click to toggle source
# File lib/navigatrix/rendering/strategies/bootstrap/navbar.rb, line 30
def nested_list
  List.new(children, options).render if has_children?
end