Class: Anchor::Page::HeaderComponent

Inherits:
Component
  • Object
show all
Defined in:
app/components/anchor/page/header_component.rb

Constant Summary

Constants included from ViewHelper

ViewHelper::ANCHOR_HELPERS

Instance Method Summary collapse

Methods inherited from Component

generate_id, #initialize

Methods included from ViewHelper

#anchor_form_with, #anchor_svg, #deep_blank?, #merge_options, #popover_trigger_attributes

Methods included from FetchOrFallbackHelper

#fetch_or_fallback

Constructor Details

This class inherits a constructor from Anchor::Component

Instance Method Details

#render_title_and_action_row?Boolean

Returns:

  • (Boolean)


52
53
54
# File 'app/components/anchor/page/header_component.rb', line 52

def render_title_and_action_row?
  title? || action? || action_menu? || badge?
end