Sha256: 003d11f4071c0fe2ff5531698d697757733454ae3a02b1959c5ec61aaa4abda3

Contents?: true

Size: 1.28 KB

Versions: 1

Compression:

Stored size: 1.28 KB

Contents

module React
  module Window
    [ 
      # Properties
      :closed, :console, :controllers, :crypto, :devicePixelRatio,
      :dialogArguments, :document, :frameElement, :frames, :fullscreen,
      :history, :indexedDB, :innerHeight, :innerWidth, :isSecureContext,
      :length, :localStorage, :location, :locationbar, :menubar, 
      :messageManager, :name, :navigator, :opener, :outerHeight, :outerWidth,
      :parent, :performance, :personalbar, :screen, :screenX, :screenY, 
      :scrollbars, :scrollX, :scrollY, :sessionStorage, :status, :statusbar,
      :toolbar, :top, :URL, :window,
      # Methods
      :alert, :atob, :blur, :btoa, :cancelAnimationFrame, :cancelIdleCallback,
      :clearImmediate, :clearInterval, :clearTimeout, :close, :confirm, 
      :convertPointFromNodeToPage, :createImageBitmap, :fetch, :focus, 
      :forward, :getAttention, :getComputedStyle, :getDefaultComputedStyle,
      :getSelection, :home, :matchMedia, :minimize, :moveBy, :moveTo, :open,
      :postMessage, :prompt, :requestAnimationFrame, :requestIdleCallback, 
      :resizeBy, :resizeTo, :restore, :scroll, :scrollBy, :scrollByPages, 
      :scrollTo, :setImmediate, :setInterval, :setTimeout, :sizeToContent, 
      :stop, :updateCommands 
    ].each { |key| define_method(key){ $$.window[key] } }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opal-react-0.0.4 lib/opal/react/window.rb