Sha256: 7c10fae5c4e79a876b00835a6cddccf50210413b3968b031fb71e7f95409d221
Contents?: true
Size: 611 Bytes
Versions: 75
Compression:
Stored size: 611 Bytes
Contents
module RubyApp module Elements module Lists require 'ruby_app/elements/list' class Select < RubyApp::Elements::List template_path(:all, File.dirname(__FILE__)) exclude_parent_template(:html, :css, :js) attr_accessor :selected_item def initialize super end def selected_item=(item) @selected_item = item end protected def on_clicked(event) @selected_item = event.item event.update_element(self) super(event) end end end end end
Version data entries
75 entries across 75 versions & 1 rubygems