Sha256: 526e0c3881e72c54c2c5405e90227cb68060bb2f3079ebda502750e672d115de

Contents?: true

Size: 347 Bytes

Versions: 6

Compression:

Stored size: 347 Bytes

Contents

class InputsPage < UnderOs::Page
  def initialize
    @single_select = first('#single-select').on(:change){|e| e.target.hide}
    @multi_select  = first('#multi-select' ).on(:change){|e| e.target.hide}

    first('#show-single-select').on(:tap){ @single_select.toggle }
    first('#show-multi-select' ).on(:tap){ @multi_select.toggle  }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
under-os-1.4.0 app/pages/inputs_page.rb
under-os-1.3.0 app/pages/inputs_page.rb
under-os-1.2.1 app/pages/inputs_page.rb
under-os-1.2.0 app/pages/inputs_page.rb
under-os-1.1.0 app/pages/inputs_page.rb
under-os-1.0.0 app/pages/inputs_page.rb