Skip to content

Titanium.UI.closeWindowParams

Dictionary of options for the Titanium.UI.Window.close method.

Since: 3.2.0, 3.2.0, 3.2.0, 9.2.0 · Platforms: android, iphone, ipad, macos

Properties #

activityEnterAnimation#

Type: Number

Animation resource to use for the incoming activity.

This value will be ignored if animated is set to false.
See "Window Transitions in Android" in the main description of Titanium.UI.Window
for more information.

activityExitAnimation#

Type: Number

Animation resource to use for the outgoing activity.

This value will be ignored if animated is set to false.
See "Window Transitions in Android" in the main description of Titanium.UI.Window
for more information.

animated#

Type: Boolean

Determines whether to use an animated effect when the window is closed. Defaults to true on Android, false on iOS.

This property supports animated transitions on windows except for modal windows (modal:true).
The transitions are on by default, but you can disable this behavior by setting this value
to false.

animationDuration#

Type: Number

duration of the animation in milliseconds

animationStyle#

Type: Number

Transition type to use during a transition animation.

Titanium SDK Documentation