Sha256: 335a1a58ce7391714445321fe48e09c5a2e18e3083c379668016cc9925ce3e79

Contents?: true

Size: 211 Bytes

Versions: 2

Compression:

Stored size: 211 Bytes

Contents

# Scroll

t = text({content: "drag the circle out the window", x: 66, fixed: true})
c = circle({x: 96, y: 96})
c.drag(true)

grab(:view).scroll_html do
  t.content("x position : #{c.x}, y position : #{c.y}")
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/scroll.rb
atome-0.4.5.4 vendor/assets/build/medias/rubies/examples/Old_examples/scroll.rb