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

Version Path
atome-0.5.7.4.7 vendor/assets/application/examples/input.rb
atome-0.5.7.4.6 vendor/assets/application/examples/input.rb
atome-0.5.7.4.3 vendor/assets/application/examples/input.rb
atome-0.5.7.4.2 vendor/assets/application/examples/input.rb
atome-0.5.7.3.9 vendor/assets/application/examples/input.rb
atome-0.5.7.3.6 vendor/assets/application/examples/input.rb
atome-0.5.7.3.5 vendor/assets/application/examples/input.rb
atome-0.5.7.3.3 vendor/assets/application/examples/input.rb
atome-0.5.7.3.2 vendor/assets/application/examples/input.rb
atome-0.5.7.3.1 vendor/assets/application/examples/input.rb
atome-0.5.7.3.0 vendor/assets/application/examples/input.rb
atome-0.5.7.1.8 vendor/assets/application/examples/input.rb
atome-0.5.7.1.7 vendor/assets/application/examples/input.rb
atome-0.5.7.1.0 vendor/assets/application/examples/input.rb