Sha256: f974dc1d39c0569b1c3f29484b9aee441658b96894ca4ef9f1a83cb40f1bea0d

Contents?: true

Size: 226 Bytes

Versions: 4

Compression:

Stored size: 226 Bytes

Contents

module Browser; module DOM; class Element < Node

class Media < Element
  def play
    `#@native.play()`
  end
end

class Video < Media
  def_selector "video"
end

class Audio < Media
  def_selector "audio"
end

end; end; end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
opal-browser-0.3.3 opal/browser/dom/element/media.rb
opal-browser-0.3.2 opal/browser/dom/element/media.rb
opal-browser-0.3.1 opal/browser/dom/element/media.rb
opal-browser-0.3.0 opal/browser/dom/element/media.rb