class NfgUi::Bootstrap::Components::NavbarBrand

Bootstrap Navbar Component getbootstrap.com/docs/4.1/components/navbar/

Public Instance Methods

component_family() click to toggle source
# File lib/nfg_ui/bootstrap/components/navbar_brand.rb, line 9
def component_family
  :navbar
end
href() click to toggle source
Calls superclass method NfgUi::Bootstrap::Components::Base#href
# File lib/nfg_ui/bootstrap/components/navbar_brand.rb, line 13
def href
  super || '#'
end

Private Instance Methods

base_element() click to toggle source
# File lib/nfg_ui/bootstrap/components/navbar_brand.rb, line 19
def base_element
  :a
end