Sha256: 2cf95076c44008dbe840993c3f87198cf8766b7af093dac32a6c80a35ad338f7
Contents?: true
Size: 1.6 KB
Versions: 5
Compression:
Stored size: 1.6 KB
Contents
# frozen_string_literal: true require 'atome/renderers/browser/opal_add_on' require 'atome/renderers/browser/effect' require 'atome/renderers/browser/event' require 'atome/renderers/browser/geometry' require 'atome/renderers/browser/identity' require 'atome/renderers/browser/material' require 'atome/renderers/browser/spatial' require 'atome/renderers/browser/atome' require 'atome/renderers/browser/utility' require 'atome/renderers/browser/time' require 'atome/renderers/browser/helpers/browser_helper' require 'atome/renderers/browser/helpers/animation_helper' require 'atome/renderers/browser/helpers/color_helper' require 'atome/renderers/browser/helpers/drag_helper' require 'atome/renderers/browser/helpers/drop_helper' # require 'atome/renderers/browser/helpers/over_helper' require 'atome/renderers/browser/helpers/effect_helper' require 'atome/renderers/browser/helpers/event_helper' require 'atome/renderers/browser/helpers/image_helper' require 'atome/renderers/browser/helpers/shadow_helper' require 'atome/renderers/browser/helpers/shape_helper' require 'atome/renderers/browser/helpers/text_helper' require 'atome/renderers/browser/helpers/video_helper' require 'atome/renderers/browser/helpers/web_helper' class Atome attr_accessor :browser_object def to_px id_found = real_atome[:id] property_found=property value_get = '' ` div = document.getElementById(#{id_found}); var style = window.getComputedStyle(div); var original_value = style.getPropertyValue(#{property_found}); #{value_get}= parseInt(original_value); ` value_get end end def atome_js `atomeJS` end
Version data entries
5 entries across 5 versions & 1 rubygems