Sha256: 408c0d893501773821f8b853e9f0925b9e5d756bcecf087e04f99225ac5db842

Contents?: true

Size: 468 Bytes

Versions: 6

Compression:

Stored size: 468 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).sort.each do |comp|
      item titleize(comp) do
        event :click do
          loads comp
        end
      end
    end
  end
end


Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
voom-presenters-0.1.5 app/demo/components/nav/menu.pom
voom-presenters-0.1.4 app/demo/components/nav/menu.pom
voom-presenters-0.1.3 app/demo/components/nav/menu.pom
voom-presenters-0.1.2 app/demo/components/nav/menu.pom
voom-presenters-0.1.1 app/demo/components/nav/menu.pom
voom-presenters-0.1.0 app/demo/components/nav/menu.pom