Sha256: 87ecd03e684572aa2d17203ec17b3db5fea10759a7ba603be4a4013dd0b41afe

Contents?: true

Size: 583 Bytes

Versions: 6

Compression:

Stored size: 583 Bytes

Contents

Voom::Presenters.define(:field_level_events) do
  attach :top_nav

  grid do
    column 1
    column 4 do
      card do
        display 'Field Level Events'
        heading      'Text Fields'
        body 'This demonstrates that a change event will submit the  field value to the event action. '\
             'This works with posts and replace actions'
        text_field name: :myfield do
          label 'Data to post'
          event :change do
            replaces  :context_list, :context_list
          end
        end
        attach :context_list
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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