Sha256: 68d3fd5d2aaa2adf2fad2b1ef7d56b66453c6d34756b057b0c672d2d6c05274a
Contents?: true
Size: 1.36 KB
Versions: 15
Compression:
Stored size: 1.36 KB
Contents
# frozen_string_literal: true new({ method: :drag, type: :symbol, renderer: :html }) do |params| # if @drag # option = @drag[params] # else # params = :remove # option = true # end # html.event(:drag, params, option) if params option = @drag[params] html.event(:drag, params, option) else html.event(:drag, :remove, true) end 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| if params option = @touch[params] html.event(:touch, params, option) else html.event(:touch, :remove, true) end 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
15 entries across 15 versions & 1 rubygems