Sha256: 03fdde4b3b145fefba0d41010ff477b5ca98d8bfd6f9efe90ad99a03f6375c46
Contents?: true
Size: 828 Bytes
Versions: 14
Compression:
Stored size: 828 Bytes
Contents
# frozen_string_literal: true t = text({ left: 33, top: 33, data: 'data collected', id: :infos }) b=box({drag: true, id: :titi}) inp=b.input({ width: 166, trigger: :up, back: :orange, shadow: { id: :s2, left: 3, top: 3, blur: 3, invert: true, red: 0, green: 0, blue: 0, alpha: 0.9 }, component: {size: 8}, # attach: :intuition, text: { color: :black , top: 5, left: 6}, smooth: 3, left: 66, top: 33, # height: 8, default: 'type here' }) do |val| grab(:infos).data(val) end inp.top(12) wait 1 do inp.width(666) wait 1 do inp.holder.data('new data') end end
Version data entries
14 entries across 14 versions & 1 rubygems