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.

  • 2.1.1
  • 2.1.1

NOTE This is an abstract type. Any object meeting this description can be used where this type is used.

Defined By

Properties

DocumentViewerOptions
: Boolean
Indicates whether to animate the transition. ...

Indicates whether to animate the transition.

Default: false

DocumentViewerOptions
view : Titanium.UI.View

Anchors the options menu to the specified 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.