Sha256: 9f36185ea1a4dba25ad9af8cfb7c19c7fc041c55201da936c23b0bb63a312cb8

Contents?: true

Size: 725 Bytes

Versions: 5

Compression:

Stored size: 725 Bytes

Contents

# frozen_string_literal: true

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

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

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

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

  def self.browser_data_text(value,atome_send)
    atome_send.browser_object.text = value
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
atome-0.5.3.8.1 lib/atome/renderers/browser/helpers/text_helper.rb
atome-0.5.3.8.0 lib/atome/renderers/browser/helpers/text_helper.rb
atome-0.5.3.7.8 lib/atome/renderers/browser/helpers/text_helper.rb
atome-0.5.3.7.3 lib/atome/renderers/browser/helpers/text_helper.rb
atome-0.5.3.7.2 lib/atome/renderers/browser/helpers/text_helper.rb