You are reading 13.0.1. See this page in 13.4.1.
Titanium.UI.iOS.PreviewActionGroup
Extends Titanium.Proxy
A PreviewActionGroup provides options to configure a group of actions used by the iOS9 3D-Touch feature "Peek and Pop".
The PreviewActionGroup is created by the Titanium.UI.iOS.createPreviewActionGroup method. You
need to set the title property when creating a PreviewActionGroup object.
Use this class to configure a group of preview actions used in the Titanium.UI.iOS.PreviewContext. The actions are of the type Titanium.UI.iOS.PreviewAction.
For an example, see Titanium.UI.iOS.PreviewContext.
See also:
Properties 5
The preview actions assigned to this preview action group.
Provides an array with elements of the type Titanium.UI.iOS.PreviewAction. Note: Apple does not allow adding a preview group to another preview group, so only one hirarchie level is allowed.
Inherited from Titanium.Proxy
The name of the API that this proxy corresponds to.
Inherited from Titanium.Proxy
Indicates if the proxy will bubble an event to its parent.
Default: true
style
NumberThe style of the action group.
Default: Titanium.UI.iOS.PREVIEW_ACTION_STYLE_DEFAULT
title
StringThe title of the action group.
Provides a title to be shown when "peeking" a view referenced in the Titanium.UI.iOS.PreviewContext.
Methods 4
Inherited from Titanium.Proxy
Adds the specified callback as an event listener for the named event.
| Parameters | Type | Description |
|---|---|---|
| name | String | Name of the event. |
| callback | Callback<Titanium.Event> | Callback function to invoke when the event is fired. 4 fields
|
applyProperties
since 3.0.0Inherited from Titanium.Proxy
Applies the properties to the proxy.
| Parameters | Type | Description |
|---|---|---|
| props | Dictionary | A dictionary of properties to apply. |
Inherited from Titanium.Proxy
Fires a synthesized event to any registered listeners.
| Parameters | Type | Description |
|---|---|---|
| name | String | Name of the event. |
| event? | Dictionary | A dictionary of keys and values to add to the Titanium.Event object sent to the listeners. |
Inherited from Titanium.Proxy
Removes the specified callback as an event listener for the named event.
| Parameters | Type | Description |
|---|---|---|
| name | String | Name of the event. |
| callback | Callback<Titanium.Event> | Callback function to remove. Must be the same function passed to 4 fields
|