Sha256: 644a5c679552941b3cf70058dd93b949241569cd08e5eecf201bec70420bc4e4
Contents?: true
Size: 656 Bytes
Versions: 19
Compression:
Stored size: 656 Bytes
Contents
# frozen_string_literal: true # for browser rendering module BrowserHelper # image def self.browser_left_image(value, browser_object, _atome) browser_object.style[:left] = "#{value}px" end def self.browser_right_image(value, browser_object, _atome) browser_object.style[:right] = "#{value}px" end def self.browser_top_image(value, browser_object, _atome) browser_object.style[:top] = "#{value}px" end def self.browser_bottom_image(value, browser_object, _atome) browser_object.style[:bottom] = "#{value}px" end def self.browser_path_image(value, browser_object, _atome) browser_object[:src] = value end end
Version data entries
19 entries across 19 versions & 1 rubygems