Sha256: b6427aa6edc4791a690a24cd86997a8ddfe9158a09f605cbb338b030d7513e66
Contents?: true
Size: 989 Bytes
Versions: 6
Compression:
Stored size: 989 Bytes
Contents
require_relative '../helpers/indented_grid' Voom::Presenters.define(:menus) do helpers Demo::Helpers::IndentedGrid attach :top_nav attach :component_drawer page_title 'Menus' indented_grid do grid do column 1 column 5 do card height: '300px' do button icon: :more_vert do menu do item 'Some Action' item 'Another Action' divider item 'Disabled Action', disabled: true item 'Yet Another Action' end end end end column 5 do card height: '300px' do button icon: :more_vert, position: :right do menu do item 'Some Action' item 'Another Action' divider item 'Disabled Action', disabled: true item 'Yet Another Action' end end end end end attach :code, file: __FILE__ end end
Version data entries
6 entries across 6 versions & 1 rubygems