Sha256: 4c0c525a6aac7af87c0b22353e484dd71a4f3b28196028153e065ed7bb3a7934

Contents?: true

Size: 518 Bytes

Versions: 45

Compression:

Stored size: 518 Bytes

Contents

module Frank
module Cucumber

module ScrollHelper

  def scroll_view_to_top( selector )
    frankly_map( selector, "FEX_scrollToTop" )
  end

  def scroll_view_to_bottom( selector )
    frankly_map( selector, "FEX_scrollToBottom" )
  end

  def scroll_view_to_position( selector, x, y )
    frankly_map( selector, "FEX_setContentOffsetX:y:", x.to_i, y.to_i)
  end

  def scroll_table_view( selector, row, section = 0)
    frankly_map(selector, "FEX_scrollToRow:inSection:", row.to_i, section.to_i)
  end

end

end end

Version data entries

45 entries across 45 versions & 4 rubygems

Version Path
sc-frank-ios-1.2.3 lib/frank-cucumber/scroll_helper.rb
frank-cucumber-1.2.5 lib/frank-cucumber/scroll_helper.rb
frank-cucumber-1.2.4.pre1 lib/frank-cucumber/scroll_helper.rb
frank-pivotal-1.3.0.pre.2 lib/frank-pivotal/scroll_helper.rb
sc-frank-cucumber-1.2.1.bba52d7.debug lib/frank-cucumber/scroll_helper.rb
sc-frank-cucumber-1.2.1.e1e3ccb.debug lib/frank-cucumber/scroll_helper.rb
sc-frank-cucumber-1.2.1.1a856ca.debug lib/frank-cucumber/scroll_helper.rb
frank-pivotal-1.3.0.pre.1 lib/frank-pivotal/scroll_helper.rb
frank-pivotal-1.2.4 lib/frank-pivotal/scroll_helper.rb
frank-pivotal-1.2.3.pre.2 lib/frank-pivotal/scroll_helper.rb
frank-pivotal-1.2.3.pre.1 lib/frank-pivotal/scroll_helper.rb
frank-pivotal-1.2.3 lib/frank-pivotal/scroll_helper.rb
sc-frank-cucumber-1.2.1.b7791c5.debug lib/frank-cucumber/scroll_helper.rb
frank-cucumber-1.2.3 lib/frank-cucumber/scroll_helper.rb
sc-frank-cucumber-1.2.1.3256dc1.debug lib/frank-cucumber/scroll_helper.rb
sc-frank-cucumber-1.2.1.9c95c03.debug lib/frank-cucumber/scroll_helper.rb
sc-frank-cucumber-1.2.1.1dcc760.debug lib/frank-cucumber/scroll_helper.rb
frank-cucumber-1.2.2 lib/frank-cucumber/scroll_helper.rb
sc-frank-cucumber-1.2.1.1dcc760 lib/frank-cucumber/scroll_helper.rb
frank-cucumber-1.2.1 lib/frank-cucumber/scroll_helper.rb