Sha256: 79d80fa8af612931a38f7efc14faad2ada33251b13d71233fcc2cd67eb91a81f

Contents?: true

Size: 1.09 KB

Versions: 58

Compression:

Stored size: 1.09 KB

Contents

# frozen_string_literal: true

new({ method: :drag, type: :symbol, renderer: :html }) do |params|
  option = @drag[params]
  html.event(:drag, params, option)
end

new({ method: :drop, type: :symbol, renderer: :html }) do |params|
  option = @drop[params]
  html.event(:drop, params, option)
end

new({ method: :touch, type: :integer, renderer: :html }) do |params|
  option = @touch[params]
  html.event(:touch, params, option)
end

new({ method: :over, type: :integer, renderer: :html }) do |params|
  option = @over[params]
  html.event(:over, params, option)
end

new({ method: :keyboard, renderer: :html }) do |params|
  option = @keyboard[params]
  html.event(:keyboard, params, option)
end

new({ method: :play, renderer: :html }) do |params = true|
  option = @play[params]
  # html.currentTime(params, option) if params != true
  html.action(:play, params, option)
  # params
end

new({ method: :on, renderer: :html }) do |params|
  option = @on[params]
  html.on(params, option)
end

new({ method: :resize, renderer: :html }) do |params, user_bloc|
  option = @resize[params]
  html.resize(params, option)
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
atome-0.5.6.8.7 lib/renderers/html/event.rb
atome-0.5.6.8.6 lib/renderers/html/event.rb
atome-0.5.6.8.5 lib/renderers/html/event.rb
atome-0.5.6.8.3 lib/renderers/html/event.rb
atome-0.5.6.7.8 lib/renderers/html/event.rb
atome-0.5.6.7.7 lib/renderers/html/event.rb
atome-0.5.6.7.6 lib/renderers/html/event.rb
atome-0.5.6.7.5 lib/renderers/html/event.rb
atome-0.5.6.7.4 lib/renderers/html/event.rb
atome-0.5.6.7.3 lib/renderers/html/event.rb
atome-0.5.6.6.9 lib/renderers/html/event.rb
atome-0.5.6.6.7 lib/renderers/html/event.rb
atome-0.5.6.6.5 lib/renderers/html/event.rb
atome-0.5.6.6.1 lib/renderers/html/event.rb
atome-0.5.6.6.0 lib/renderers/html/event.rb
atome-0.5.6.5.7 lib/renderers/html/event.rb
atome-0.5.6.5.6 lib/renderers/html/event.rb
atome-0.5.6.5.4 lib/renderers/html/event.rb
atome-0.5.6.5.1 lib/renderers/html/event.rb
atome-0.5.6.4.8 lib/renderers/html/event.rb