Module: UiBibz::Helpers::Ui::Core::NavigationsHelper
- Included in:
- UiBibz::Helpers::Ui::CoreHelper
- Defined in:
- lib/ui_bibz/helpers/ui/core/navigations_helper.rb
Instance Method Summary collapse
-
#ui_breadcrumb(content = nil, options = nil, html_options = nil, &block) ⇒ Object
Breadcrumb Component.
-
#ui_link(content = nil, options = nil, html_options = nil, &block) ⇒ Object
Link Component.
-
#ui_nav(content = nil, options = nil, html_options = nil, &block) ⇒ Object
Nav Component.
-
#ui_navbar(content = nil, options = nil, html_options = nil, &block) ⇒ Object
Navbar Component.
-
#ui_pagination(content = nil, options = nil, html_options = nil, &block) ⇒ Object
Pagination Component.
-
#ui_tab_group(content = nil, options = nil, html_options = nil, &block) ⇒ Object
TabGroup Component.
-
#ui_toolbar(content = nil, options = nil, html_options = nil, &block) ⇒ Object
Toolbar Component.
Instance Method Details
#ui_breadcrumb(content = nil, options = nil, html_options = nil, &block) ⇒ Object
Breadcrumb Component
options (Hash) html_options (Hash)
57 58 59 60 61 62 63 |
# File 'lib/ui_bibz/helpers/ui/core/navigations_helper.rb', line 57 def (content = nil, = nil, = nil, &block) if block.nil? UiBibz::Ui::Core::Navigations::Breadcrumb.new(content, , , &block).render else UiBibz::Ui::Core::Navigations::Breadcrumb.new(content, , ).tap(&block).render end end |
#ui_link(content = nil, options = nil, html_options = nil, &block) ⇒ Object
Link Component
options (Hash) html_options (Hash)
48 49 50 |
# File 'lib/ui_bibz/helpers/ui/core/navigations_helper.rb', line 48 def ui_link(content = nil, = nil, = nil, &block) UiBibz::Ui::Core::Navigations::Link.new(content, , , &block).render end |
#ui_nav(content = nil, options = nil, html_options = nil, &block) ⇒ Object
Nav Component
options (Hash) html_options (Hash)
8 9 10 |
# File 'lib/ui_bibz/helpers/ui/core/navigations_helper.rb', line 8 def ui_nav(content = nil, = nil, = nil, &block) UiBibz::Ui::Core::Navigations::Nav.new(content, , ).tap(&block).render end |
#ui_navbar(content = nil, options = nil, html_options = nil, &block) ⇒ Object
Navbar Component
options (Hash) html_options (Hash)
24 25 26 |
# File 'lib/ui_bibz/helpers/ui/core/navigations_helper.rb', line 24 def (content = nil, = nil, = nil, &block) UiBibz::Ui::Core::Navigations::Navbar.new(content, , ).tap(&block).render end |
#ui_pagination(content = nil, options = nil, html_options = nil, &block) ⇒ Object
Pagination Component
options (Hash) html_options (Hash)
32 33 34 |
# File 'lib/ui_bibz/helpers/ui/core/navigations_helper.rb', line 32 def ui_pagination(content = nil, = nil, = nil, &block) UiBibz::Ui::Core::Navigations::Pagination.new(content, , ).tap(&block).render end |
#ui_tab_group(content = nil, options = nil, html_options = nil, &block) ⇒ Object
TabGroup Component
options (Hash) html_options (Hash)
16 17 18 |
# File 'lib/ui_bibz/helpers/ui/core/navigations_helper.rb', line 16 def ui_tab_group(content = nil, = nil, = nil, &block) UiBibz::Ui::Core::Navigations::TabGroup.new(content, , ).tap(&block).render end |
#ui_toolbar(content = nil, options = nil, html_options = nil, &block) ⇒ Object
Toolbar Component
options (Hash) html_options (Hash)
40 41 42 |
# File 'lib/ui_bibz/helpers/ui/core/navigations_helper.rb', line 40 def (content = nil, = nil, = nil, &block) UiBibz::Ui::Core::Navigations::Toolbar.new(content, , ).tap(&block).render end |