Class: Avo::Resources::Items::Header

Inherits:
Object
  • Object
show all
Includes:
Concerns::HasItemType, Concerns::IsResourceItem
Defined in:
lib/avo/resources/items/header.rb

Instance Attribute Summary

Attributes included from Concerns::IsResourceItem

#resource, #view

Instance Method Summary collapse

Methods included from Concerns::HasItemType

#is_card?, #is_collaboration?, #is_field?, #is_header?, #is_heading?, #is_panel?, #is_row?, #is_sidebar?, #is_tab?, #is_tab_group?, #is_tool?

Methods included from Concerns::Hydration

#hydrate

Constructor Details

#initialize(**args) ⇒ Header

Returns a new instance of Header.



6
7
8
# File 'lib/avo/resources/items/header.rb', line 6

def initialize(**args)
  @args = args
end

Instance Method Details

#visible?Boolean

Returns:

  • (Boolean)


10
# File 'lib/avo/resources/items/header.rb', line 10

def visible? = true