class Bootstrap4RailsComponents::Bootstrap::Components::DropdownItem
Bootstrap
Dropdown
Items Component getbootstrap.com/docs/4.1/components/dropdowns/#menu-items
Public Instance Methods
component_family()
click to toggle source
# File lib/bootstrap4_rails_components/bootstrap/components/dropdown_item.rb, line 15 def component_family :dropdown end
render() { |: body)| ... }
click to toggle source
# File lib/bootstrap4_rails_components/bootstrap/components/dropdown_item.rb, line 19 def render if tooltip && disabled content_tag(:span, disabled_component_tooltip_wrapper_html_options) do content_tag(as, html_options.except(:href)) do (block_given? ? yield : body) end end else content_tag(as, html_options) do (block_given? ? yield : body) end end end
Private Instance Methods
default_html_wrapper_element()
click to toggle source
# File lib/bootstrap4_rails_components/bootstrap/components/dropdown_item.rb, line 35 def default_html_wrapper_element :a end