Sha256: 2210f4cd3e244c1fb425a4964d8747a9e5ecc973650ac8bdacf7002f861c64ce

Contents?: true

Size: 221 Bytes

Versions: 25

Compression:

Stored size: 221 Bytes

Contents

require 'reflex/view'


module Reflex


  class ImageView

    has_model

    def image=(image)
      self.data = image
    end

    def on_data_update(e)
      set_image self.data
    end

  end# ImageView


end# Reflex

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
reflexion-0.3 lib/reflex/image_view.rb
reflexion-0.2.1 lib/reflex/image_view.rb
reflexion-0.2 lib/reflex/image_view.rb
reflexion-0.1.57 lib/reflex/image_view.rb
reflexion-0.1.56 lib/reflex/image_view.rb
reflexion-0.1.55 lib/reflex/image_view.rb
reflexion-0.1.54 lib/reflex/image_view.rb
reflexion-0.1.53 lib/reflex/image_view.rb
reflexion-0.1.52 lib/reflex/image_view.rb
reflexion-0.1.51 lib/reflex/image_view.rb
reflexion-0.1.50 lib/reflex/image_view.rb
reflexion-0.1.49 lib/reflex/image_view.rb
reflexion-0.1.48 lib/reflex/image_view.rb
reflexion-0.1.47 lib/reflex/image_view.rb
reflexion-0.1.46 lib/reflex/image_view.rb
reflexion-0.1.45 lib/reflex/image_view.rb
reflexion-0.1.44 lib/reflex/image_view.rb
reflexion-0.1.43 lib/reflex/image_view.rb
reflexion-0.1.42 lib/reflex/image_view.rb
reflexion-0.1.41 lib/reflex/image_view.rb