Sha256: d3f454a2e082f1cd809b32539afa2be504622563e25be60363d89dc886ad50af

Contents?: true

Size: 244 Bytes

Versions: 1

Compression:

Stored size: 244 Bytes

Contents

require 'glimmer/opal/element_proxy'

module Glimmer
  module Opal
    class DivProxy < ElementProxy
      def dom
        div_id = id
        @dom ||= DOM {
          div(id: div_id, class: 'grid_layout')
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
glimmer-dsl-opal-0.0.2 lib/glimmer/opal/div_proxy.rb