# openWindowParams
Dictionary of options for the open method.
NOTE
This is an abstract type. Any object of this structure can be used where this type is used.
# Properties
# activityEnterAnimation
Animation resource to run on the activity being opened.
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
Animation resource to run on the activity that is being put in background as a window is being opened above it.
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
Determines whether to use an animated effect when the window is shown.
On Android, 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
.
On iOS, only use this property to disable animated transitions on modal windows. This property has unintended side effects on non-modal windows if it is defined.
Default: true
# bottom
Window's bottom position, in platform-specific units.
On Android, this property has no effect.
Default: 0
# forceModal
Indicates whether the window enforces modal behaviour.
Set to true
to prevent interactive dismissal of window while it is onscreen.
Default: false
# height
Window's height, in platform-specific units.
On Windows Phone and Windows 10 Mobile, this property does not take any effect. On Windows 10 Store App, resizing Window takes no effect in following cases according to Windows Runtime API document.
- The requested size is larger than the available work area.
- The requested size is less than the view's minimum size.
- The smallest allowed minimum size is 192 x 48 effective pixels.
- The largest allowed minimum size is 500 x 500 effective pixels.
# left
Window's left position, in platform-specific units.
On Android, this property has no effect.
Default: 0
# modal
Determines whether to open the window modal in front of other windows.
Default: false
# modalStyle
Presentation style of this modal window.
Default: Titanium.UI.iOS.MODAL_PRESENTATION_FULLSCREEN
# modalTransitionStyle
Transition style of this modal window.
Default: Titanium.UI.iOS.MODAL_TRANSITION_STYLE_COVER_VERTICAL
For modal windows, hides the nav bar (true
) or shows the nav bar (false
).
On iOS, beginning with Release 3.1.3, this is no longer a valid parameter passed to the open method.
Default: false
# right
Window's right position, in platform-specific units.
On Android, this property has no effect.
Default: 0
# top
Window's top position, in platform-specific units.
On Android, this property has no effect.
Default: 0
# transition
Transition style of this non-modal window.
- Titanium.UI.iOS.AnimationStyle.CURL_DOWN
- Titanium.UI.iOS.AnimationStyle.CURL_UP
- Titanium.UI.iOS.AnimationStyle.FLIP_FROM_LEFT
- Titanium.UI.iOS.AnimationStyle.FLIP_FROM_RIGHT
- Titanium.UI.iOS.AnimationStyle.FLIP_FROM_TOP
- Titanium.UI.iOS.AnimationStyle.FLIP_FROM_BOTTOM
- Titanium.UI.iOS.AnimationStyle.CROSS_DISSOLVE
- Titanium.UI.iOS.AnimationStyle.NONE
Default: Titanium.UI.iOS.AnimationStyle.NONE
# width
Window's width, in platform-specific units.
On Windows Phone and Windows 10 Mobile, this property does not take any effect. On Windows 10 Store App, resizing Window takes no effect in following cases according to Windows Runtime API document.
- The requested size is larger than the available work area.
- The requested size is less than the view's minimum size.
- The smallest allowed minimum size is 192 x 48 effective pixels.
- The largest allowed minimum size is 500 x 500 effective pixels.
- This method is called while in while the app is running in Tablet Mode.