Class: HelloCombo
- Inherits:
-
Object
- Object
- HelloCombo
- Includes:
- Glimmer
- Defined in:
- lib/glimmer-dsl-opal/samples/hello/hello_combo.rb
Instance Method Summary collapse
Instance Method Details
#launch ⇒ Object
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/glimmer-dsl-opal/samples/hello/hello_combo.rb', line 38 def launch person = Person.new shell { row_layout(:vertical) { pack false } text 'Hello, Combo!' combo(:read_only) { selection bind(person, :country) } { text 'Reset Selection' do person.reset_country end } }.open end |