Sha256: 42e63b49dcd4d1f9ea139924c2c474ef74e7eaee01434e9cb68cc9c79ce34e19

Contents?: true

Size: 204 Bytes

Versions: 18

Compression:

Stored size: 204 Bytes

Contents

# frozen_string_literal: true

t = text({ data: "hit the box to make me editable" })

b = box({ left: 333 })
b.touch(true) do
  if t.edit.value == true
    t.edit(false)
  else
    t.edit(true)
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
atome-0.5.4.1.9 vendor/assets/src/medias/rubies/examples/edit.rb
atome-0.5.4.1.7 vendor/assets/src/medias/rubies/examples/edit.rb
atome-0.5.4.1.3 vendor/assets/src/medias/rubies/examples/edit.rb
atome-0.5.4.1.2 vendor/assets/src/medias/rubies/examples/edit.rb
atome-0.5.4.1.1 vendor/assets/src/medias/rubies/examples/edit.rb
atome-0.5.4.1.0 vendor/assets/src/medias/rubies/examples/edit.rb
atome-0.5.4.0.9 vendor/assets/src/medias/rubies/examples/edit.rb
atome-0.5.3.8.8 vendor/assets/src/medias/rubies/examples/edit.rb
atome-0.5.3.8.1 vendor/assets/src/medias/rubies/examples/edit.rb
atome-0.5.3.8.0 vendor/assets/src/medias/rubies/examples/edit.rb
atome-0.5.3.7.8 vendor/assets/src/medias/rubies/examples/edit.rb
atome-0.5.3.7.3 vendor/assets/src/medias/rubies/examples/edit.rb
atome-0.5.3.7.2 vendor/assets/src/medias/rubies/examples/edit.rb
atome-0.5.3.4 vendor/assets/src/medias/rubies/examples/edit.rb
atome-0.5.3.2 vendor/assets/src/medias/rubies/examples/edit.rb
atome-0.5.2.8 vendor/assets/src/medias/rubies/examples/edit.rb
atome-0.5.2.7 vendor/assets/build/medias/rubies/examples/edit.rb
atome-0.5.2.5 vendor/assets/build/medias/rubies/examples/edit.rb