Sha256: 885ee22826ade1e8391b34d3bf12a292e1e9fe3e1e32cf97df8061f83fcaf95f

Contents?: true

Size: 1.29 KB

Versions: 19

Compression:

Stored size: 1.29 KB

Contents

# frozen_string_literal: true

new({ renderer: :html, method: :diffusion, type: :string })

new({ method: :red, type: :integer, specific: :color, renderer: :html }) do |value, _user_proc|
end

new({ method: :green, type: :integer, specific: :color, renderer: :html }) do |value, _user_proc|
end

new({ method: :blue, type: :integer, specific: :color, renderer: :html }) do |value, _user_proc|
end

new({ method: :alpha, type: :integer, specific: :color, renderer: :html }) do |value, _user_proc|
end

new({ renderer: :html, method: :diffusion, type: :string })

# edit
new({ renderer: :html, method: :edit }) do |params|
  html.attr(:contenteditable, params)
  html.update_data(params)
end


new({ method: :clean, renderer: :html, type: :hash }) do |params|
  html.table_clean(params)
end

new({ method: :insert, renderer: :html, type: :hash }) do |params|
  html.table_insert(params)
end



new({ method: :sort, renderer: :html, type: :hash }) do |params|
  html.refresh_table(params)
end

new({ method: :inside, renderer: :html }) do |params|
  if params
    affect.each do |at_found|
      grab(at_found).html.style("box-sizing", 'border-box')
    end
  else
    html.style("boxSizing", ' content-box')
  end
end


new({ method: :align, renderer: :html, type: :hash }) do |params|
  html.style('text-align',  params)
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
atome-0.5.7.6.0 lib/renderers/html/property.rb
atome-0.5.7.5.9 lib/renderers/html/property.rb
atome-0.5.7.5.4 lib/renderers/html/property.rb
atome-0.5.7.5.3 lib/renderers/html/property.rb
atome-0.5.7.5.1 lib/renderers/html/property.rb
atome-0.5.7.4.8 lib/renderers/html/property.rb
atome-0.5.7.4.7 lib/renderers/html/property.rb
atome-0.5.7.4.6 lib/renderers/html/property.rb
atome-0.5.7.4.3 lib/renderers/html/property.rb
atome-0.5.7.4.2 lib/renderers/html/property.rb
atome-0.5.7.3.9 lib/renderers/html/property.rb
atome-0.5.7.3.6 lib/renderers/html/property.rb
atome-0.5.7.3.5 lib/renderers/html/property.rb
atome-0.5.7.3.3 lib/renderers/html/property.rb
atome-0.5.7.3.2 lib/renderers/html/property.rb
atome-0.5.7.3.1 lib/renderers/html/property.rb
atome-0.5.7.3.0 lib/renderers/html/property.rb
atome-0.5.7.1.8 lib/renderers/html/property.rb
atome-0.5.7.1.7 lib/renderers/html/property.rb