Sha256: 7fdc046810831b5508f7a6cf26b225c341215beda7073656a1aebd259de4825e

Contents?: true

Size: 723 Bytes

Versions: 13

Compression:

Stored size: 723 Bytes

Contents

# frozen_string_literal: true

# for browser rendering
module BrowserHelper
  # web
  def self.browser_left_web(value, browser_object, _atome)
    browser_object.style[:left] = BrowserHelper.value_parse(value)
  end

  def self.browser_right_web(value, browser_object, _atome)
    browser_object.style[:right] = BrowserHelper.value_parse(value)
  end

  def self.browser_top_web(value, browser_object, _atome)
    browser_object.style[:top] = BrowserHelper.value_parse(value)
  end

  def self.browser_bottom_web(value, browser_object, _atome)
    browser_object.style[:bottom] = BrowserHelper.value_parse(value)
  end

  def self.browser_path_web(value, browser_object, _atome)
    browser_object[:src] = value
  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
atome-0.5.4.1.9 lib/atome/renderers/browser/helpers/web_helper.rb
atome-0.5.4.1.7 lib/atome/renderers/browser/helpers/web_helper.rb
atome-0.5.4.1.3 lib/atome/renderers/browser/helpers/web_helper.rb
atome-0.5.4.1.2 lib/atome/renderers/browser/helpers/web_helper.rb
atome-0.5.4.1.1 lib/atome/renderers/browser/helpers/web_helper.rb
atome-0.5.4.1.0 lib/atome/renderers/browser/helpers/web_helper.rb
atome-0.5.4.0.9 lib/atome/renderers/browser/helpers/web_helper.rb
atome-0.5.3.8.8 lib/atome/renderers/browser/helpers/web_helper.rb
atome-0.5.3.8.1 lib/atome/renderers/browser/helpers/web_helper.rb
atome-0.5.3.8.0 lib/atome/renderers/browser/helpers/web_helper.rb
atome-0.5.3.7.8 lib/atome/renderers/browser/helpers/web_helper.rb
atome-0.5.3.7.3 lib/atome/renderers/browser/helpers/web_helper.rb
atome-0.5.3.7.2 lib/atome/renderers/browser/helpers/web_helper.rb