Module: Card::Set::Abstract::List::HtmlFormat

Extended by:
Card::Set::AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod031-layout/abstract/list.rb,
platypus/tmp/set/gem-defaults/mod005-list/abstract/01_list.rb

Instance Method Summary collapse

Instance Method Details



11
12
13
14
15
# File 'platypus/tmp/set/gem-defaults/mod031-layout/abstract/list.rb', line 11

def navbar_items view: :nav_item, **_args
  card.item_cards.map do |item_card|
    nest item_card, view: view
  end
end

#view: view_listObject



46
47
48
49
50
51
# File 'platypus/tmp/set/gem-defaults/mod005-list/abstract/01_list.rb', line 46

view :view_list do
  %i[bar box closed titled labeled].map do |view|
    voo.items[:view] = view
    wrap_with :p, [(:h3, "#{view} items"), render_content]
  end
end