Sha256: 41396948e09827c9227ee2f15df4b038e39b196562b8c4fd06ddc43df05d7214
Contents?: true
Size: 361 Bytes
Versions: 12
Compression:
Stored size: 361 Bytes
Contents
module MotionPrime class ImageElement < BaseElement after_render :fetch_image def view_class "UIImageView" end def fetch_image return unless computed_options[:url] view.setImageWithURL NSURL.URLWithString(computed_options[:url]), placeholderImage: computed_options[:default].uiimage end end end
Version data entries
12 entries across 12 versions & 1 rubygems