You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Platform Library > getScrollHeight

14.7.5 getScrollHeight

platform.window:getScrollHeight()

This function returns the current scroll height if a docked keyboard is shown or 0 otherwise. Therefore the return value will always be 0 on platforms not supporting touch.

See touch.isKeyboardAvailable() for details about keyboard availability.

Introduced in platform.apiLevel = '2.2'