class UiBibz::Ui::Core::Navigations::NavLinkList
Create a NavLinkList
This element is an extend of UiBibz::Ui::Core::Component
.
Attributes¶ ↑
-
content
- Content of element -
options
- Options of element -
html_options
- Html Options of element
Options¶ ↑
You can add HTML attributes using the html_options
. You can pass arguments in options attribute:
Public Instance Methods
pre_render()
click to toggle source
Render html tag
# File lib/ui_bibz/ui/core/navigations/components/nav_link_list.rb, line 20 def pre_render content_tag :li, content, html_options end
Private Instance Methods
component_html_classes()
click to toggle source
# File lib/ui_bibz/ui/core/navigations/components/nav_link_list.rb, line 26 def component_html_classes 'nav-item' end