Sha256: a57c64e5406809a36199ead30ecb70887ab032dacf4dc8e35df84d90cee96a26

Contents?: true

Size: 393 Bytes

Versions: 6

Compression:

Stored size: 393 Bytes

Contents

Voom::Presenters.define(:event_actions_menu) do
  helpers Voom::Presenters::Helpers::Inflector
  menu side: :left do
    item 'Back', icon: :back do
      event :click do
        loads :events
      end
    end
    %i(dialog).sort.each do |action|
        item titleize(action) do
          event :click do
            loads "trigger_#{action}"
          end
        end
      end
  end
end


Version data entries

6 entries across 6 versions & 1 rubygems

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