Sha256: d70457dba1d88f4c54ffc236ce47b0c708665631d16d2277c28753433b394292

Contents?: true

Size: 1.11 KB

Versions: 4

Compression:

Stored size: 1.11 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: :remove, renderer: :html, type: :hash }) do |params|
  # alert "===> #{params}"
  # html.table_remove(params)
  html.remove(params)
end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
atome-0.5.6.5.7 lib/renderers/html/property.rb
atome-0.5.6.5.6 lib/renderers/html/property.rb
atome-0.5.6.5.4 lib/renderers/html/property.rb
atome-0.5.6.5.1 lib/renderers/html/property.rb