Sha256: 4c7a5b0267864aa3805b67331b51585f7247ba6b6449279322ebda9937da6765

Contents?: true

Size: 625 Bytes

Versions: 13

Compression:

Stored size: 625 Bytes

Contents

# frozen_string_literal: true

# for browser rendering
module BrowserHelper

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

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

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

  def self.browser_bottom_shape(value, browser_object, _atome)
    browser_object.style[:bottom] = BrowserHelper.value_parse(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/shape_helper.rb
atome-0.5.4.1.7 lib/atome/renderers/browser/helpers/shape_helper.rb
atome-0.5.4.1.3 lib/atome/renderers/browser/helpers/shape_helper.rb
atome-0.5.4.1.2 lib/atome/renderers/browser/helpers/shape_helper.rb
atome-0.5.4.1.1 lib/atome/renderers/browser/helpers/shape_helper.rb
atome-0.5.4.1.0 lib/atome/renderers/browser/helpers/shape_helper.rb
atome-0.5.4.0.9 lib/atome/renderers/browser/helpers/shape_helper.rb
atome-0.5.3.8.8 lib/atome/renderers/browser/helpers/shape_helper.rb
atome-0.5.3.8.1 lib/atome/renderers/browser/helpers/shape_helper.rb
atome-0.5.3.8.0 lib/atome/renderers/browser/helpers/shape_helper.rb
atome-0.5.3.7.8 lib/atome/renderers/browser/helpers/shape_helper.rb
atome-0.5.3.7.3 lib/atome/renderers/browser/helpers/shape_helper.rb
atome-0.5.3.7.2 lib/atome/renderers/browser/helpers/shape_helper.rb