Class: Www::MobileMenuComponent
- Inherits:
-
ApplicationComponent
- Object
- ViewComponent::Base
- ApplicationComponent
- Www::MobileMenuComponent
- Includes:
- NavbarHelper, PublicationsHelper
- Defined in:
- app/components/www/mobile_menu_component.rb
Overview
Renders the mobile navigation menu accordion
Menu structure is defined in Www::NavbarHelper::NAVBAR_MENUS
Usage:
<%= render Www::MobileMenuComponent.new %>
Constant Summary
Constants included from NavbarHelper
Method Summary
Methods included from PublicationsHelper
#find_publication_by_locale, #find_publication_url, #find_publications_by_tag_in_current_locale, #publication_link, #publication_public_url, #render_docs, #render_docs_by_sku, #render_publication_card_with_thumbnail
Methods included from NavbarHelper
#desktop_items, #desktop_menu_link, #has_quick_links?, #menu_item_badge, #menu_item_icon, #menu_item_url, #mobile_image_url, #mobile_items, #mobile_menu_link, #mobile_quick_link, #navbar_column_class, #navbar_header_tag, #navbar_menu, #navbar_menu_keys, #publication_url_for_menu, #quick_links_for, #single_category_menu?
Methods inherited from ApplicationComponent
#cms_link, #fetch_or_fallback, #image_asset_tag, #image_tag, #number_to_currency, #number_with_delimiter, #post_path, #post_url, #strip_tags