# DocumentViewerOptions

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

Availability
2.1.1
9.2.0
Extends
Object

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Overview

The view property does not apply to the hide method.

# Properties

# animated

Availability
2.1.1
9.2.0
animated :Boolean

Indicates whether to animate the transition.

Default: false


# view

Availability
2.1.1
9.2.0

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.