Sha256: c951657656bbc5a11ce590fed4e95e6c111cb3065221aa68cdff793324a601da
Contents?: true
Size: 704 Bytes
Versions: 1
Compression:
Stored size: 704 Bytes
Contents
# frozen_string_literal: true t = text({ left: 33, top: 33, data: 'data collected', id: :infos }) inp=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 }, attach: :intuition, text: :black, smooth: 3, left: 66, top: 33, 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
atome-0.5.6.8.3 | vendor/assets/application/examples/input.rb |