Sha256: 537d55ad2ac9c590b5b2f06c672c6d3137d22adfb34991dd5dee6941763595c8
Contents?: true
Size: 251 Bytes
Versions: 2
Compression:
Stored size: 251 Bytes
Contents
# window resize t = text({content: "window size", x: 66}) ATOME.resize_html do |evt| t.content("#{evt[:width]} #{evt[:height]}") end stop = text({ content: "touch me to unbind resize event" , y: 63}) stop.touch do ATOME.resize_html(:false) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
atome-0.4.7.0 | vendor/assets/build/medias/rubies/examples/Old_examples/on_resize.rb |
atome-0.4.5.4 | vendor/assets/build/medias/rubies/examples/Old_examples/on_resize.rb |