Sha256: ebd4d025537e1879343a3215508430a6a193bbad7dff144ffa0998f2b07c68b3
Contents?: true
Size: 988 Bytes
Versions: 9
Compression:
Stored size: 988 Bytes
Contents
require_relative '../helpers/indented_grid' Voom::Presenters.define(:menus) do helpers Demo::Helpers::IndentedGrid attach :top_nav attach :component_drawer indented_grid do display 'Menus' 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
9 entries across 9 versions & 1 rubygems