Sha256: 824562346ec799a8a4508fc10a701b6d853e0d6aa6d31c01a7100875f260418d

Contents?: true

Size: 490 Bytes

Versions: 6

Compression:

Stored size: 490 Bytes

Contents

require_relative '../helpers/indented_grid'

Voom::Presenters.define(:maps) do
  helpers Demo::Helpers::IndentedGrid
  attach :top_nav
  attach :component_drawer
  page_title 'Maps'

  indented_grid do
    subheading 'Static Maps'

    address = '125 Park Street, Traverse City, MI'
    google_map address: address, height: 300, width: 400  do
      event :click do
        loads "https://www.google.com/maps/place/#{address}"
      end
    end

    attach :code, file: __FILE__
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
voom-presenters-2.1.2 app/demo/components/google_maps.pom
voom-presenters-2.1.0 app/demo/components/google_maps.pom
voom-presenters-2.0.3 app/demo/components/google_maps.pom
voom-presenters-2.0.2 app/demo/components/google_maps.pom
voom-presenters-2.0.1 app/demo/components/google_maps.pom
voom-presenters-2.0.0 app/demo/components/google_maps.pom