Sha256: 179341bbe1d176a59a142f78172848244c34d427ad82ad981642006d650b44ac

Contents?: true

Size: 508 Bytes

Versions: 8

Compression:

Stored size: 508 Bytes

Contents

Voom::Presenters.define('component_menu') do
  helpers Voom::Presenters::Helpers::Inflector
  menu side: :left do
    %i(cards lists expansion_panels tables text_fields selects buttons fabs fabs_mini dialogs layouts headers drawers
         footers menus toggles chips snackbar badges tooltips hidden_fields text_areas forms icons datetime_fields date_fields time_fields).sort.each do |comp|
      item titleize(comp) do
        event :click do
          loads comp
        end
      end
    end
  end
end


Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
voom-presenters-0.1.13 app/demo/components/nav/menu.pom
voom-presenters-0.1.12 app/demo/components/nav/menu.pom
voom-presenters-0.1.11 app/demo/components/nav/menu.pom
voom-presenters-0.1.10 app/demo/components/nav/menu.pom
voom-presenters-0.1.9 app/demo/components/nav/menu.pom
voom-presenters-0.1.8 app/demo/components/nav/menu.pom
voom-presenters-0.1.7 app/demo/components/nav/menu.pom
voom-presenters-0.1.6 app/demo/components/nav/menu.pom