Sha256: 43cdab4c39fd511077b10926d1c4db9a44461de0cbd41cdf366d8b32c2bd4162

Contents?: true

Size: 247 Bytes

Versions: 14

Compression:

Stored size: 247 Bytes

Contents

# -*- coding: utf-8 -*-


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

14 entries across 14 versions & 1 rubygems

Version Path
reflexion-0.1.35 lib/reflex/image_view.rb
reflexion-0.1.34 lib/reflex/image_view.rb
reflexion-0.1.33 lib/reflex/image_view.rb
reflexion-0.1.32 lib/reflex/image_view.rb
reflexion-0.1.31 lib/reflex/image_view.rb
reflexion-0.1.30 lib/reflex/image_view.rb
reflexion-0.1.29 lib/reflex/image_view.rb
reflexion-0.1.28 lib/reflex/image_view.rb
reflexion-0.1.27 lib/reflex/image_view.rb
reflexion-0.1.26 lib/reflex/image_view.rb
reflexion-0.1.25 lib/reflex/image_view.rb
reflexion-0.1.24 lib/reflex/image_view.rb
reflexion-0.1.23 lib/reflex/image_view.rb
reflexion-0.1.22 lib/reflex/image_view.rb