Skip to content

Titanium.UI.iOS.DocumentViewerOptions

A simple object for specifying options when showing or dismissing a Titanium.UI.iOS.DocumentViewer.

The view property does not apply to the hide method.

Since: 2.1.1, 2.1.1, 9.2.0 · Platforms: iphone, ipad, macos

Properties #

animated#

Type: Boolean

Indicates whether to animate the transition.

view#

Type: Titanium.UI.View

Anchors the options menu to the specified view.

Only used with the show method.

Currently, this property can only be set to a button in the Titanium.UI.iOS.Toolbar,
or the window's leftNavButton or rightNavButton property.

If this property is not specified, the show method launches the document in the viewer
without showing the options menu.

Titanium SDK Documentation