Skip to content
Titanium SDK
Version12.8.0

You are reading 12.8.0. See this page in 13.4.1.

Titanium.UI.iOS.TableViewScrollPosition

proxydeprecatediPhoneiPadmacOSsince iPhone 5.4.0, iPad 5.4.0, macOS 9.2.0

Extends Titanium.Proxy

Deprecated since 11.1.0

A set of constants for the position value that can be used for the position property of Titanium.UI.TableView when invoking scrollToIndex.

Properties 6

apiName

Stringsince Android 3.2.0, iPhone 3.2.0, iPad 3.2.0, macOS 9.2.0read-only

Inherited from Titanium.Proxy

The name of the API that this proxy corresponds to.

BOTTOM

Numberread-only

The table view scrolls the row of interest to the bottom of the visible table view.

bubbleParent

Booleansince Android 3.0.0, iPhone 3.0.0, iPad 3.0.0, macOS 9.2.0

Inherited from Titanium.Proxy

Indicates if the proxy will bubble an event to its parent.

Default: true

MIDDLE

Numberread-only

The table view scrolls the row of interest to the middle of the visible table view.

NONE

Numberread-only

The table view scrolls the row of interest to be fully visible with a minimum of movement. If the row is already fully visible, no scrolling occurs. For example, if the row is above the visible area, the behavior is identical to that specified by TOP. This is the default.

TOP

Numberread-only

The table view scrolls the row of interest to the top of the visible table view.

Methods 4

Inherited from Titanium.Proxy

Adds the specified callback as an event listener for the named event.

Parameters
ParametersTypeDescription
nameString

Name of the event.

callbackCallback<Titanium.Event>

Callback function to invoke when the event is fired.

4 fields
bubbles Boolean

True if the event will try to bubble up if possible.

cancelBubble Boolean

Set to true to stop the event from bubbling.

source Object

Source object that fired the event.

type String

Name of the event fired.

Inherited from Titanium.Proxy

Fires a synthesized event to any registered listeners.

Parameters
ParametersTypeDescription
nameString

Name of the event.

event?Dictionary

A dictionary of keys and values to add to the Titanium.Event object sent to the listeners.

Inherited from Titanium.Proxy

Removes the specified callback as an event listener for the named event.

Parameters
ParametersTypeDescription
nameString

Name of the event.

callbackCallback<Titanium.Event>

Callback function to remove. Must be the same function passed to addEventListener.

4 fields
bubbles Boolean

True if the event will try to bubble up if possible.

cancelBubble Boolean

Set to true to stop the event from bubbling.

source Object

Source object that fired the event.

type String

Name of the event fired.

Compiled from Titanium/UI/iOS/TableViewScrollPosition.ymlEdit on GitHub