Sha256: 3c79934e90030e0d7ed8d1cd9b4a185b9dd4a0c55598aba2886337f04abce716

Contents?: true

Size: 305 Bytes

Versions: 2

Compression:

Stored size: 305 Bytes

Contents

# backtick_javascript: true

module Browser; module DOM; class Element < Node

class Image < Element
  def_selector "img"

  alias_native :complete?, :complete
  alias_native :cross?, :crossOrigin
  alias_native :height, :naturalHeight
  alias_native :width, :naturalWidth
end

Img = Image

end; end; end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
opal-browser-0.3.5 opal/browser/dom/element/image.rb
opal-browser-0.3.4 opal/browser/dom/element/image.rb