@maccesar/titools 2.10.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/AGENTS-VERCEL-RESEARCH.md +23 -12
  2. package/README.md +81 -182
  3. package/agents/ti-pro.md +8 -14
  4. package/lib/cleanup.js +13 -0
  5. package/lib/commands/skills.js +2 -1
  6. package/lib/commands/update.js +4 -1
  7. package/lib/config.js +9 -11
  8. package/lib/platform.js +1 -1
  9. package/package.json +2 -3
  10. package/skills/purgetss/SKILL.md +12 -0
  11. package/skills/purgetss/references/animation-advanced.md +0 -9
  12. package/skills/purgetss/references/app-branding.md +20 -0
  13. package/skills/purgetss/references/appearance-module.md +85 -27
  14. package/skills/purgetss/references/apply-directive.md +60 -0
  15. package/skills/purgetss/references/arbitrary-values.md +41 -0
  16. package/skills/purgetss/references/cli-commands.md +52 -17
  17. package/skills/purgetss/references/custom-rules.md +36 -19
  18. package/skills/purgetss/references/customization-deep-dive.md +37 -15
  19. package/skills/purgetss/references/grid-layout.md +45 -26
  20. package/skills/purgetss/references/icon-fonts.md +27 -25
  21. package/skills/purgetss/references/installation-setup.md +28 -2
  22. package/skills/purgetss/references/ios-large-titles.md +31 -15
  23. package/skills/purgetss/references/multi-density-images.md +57 -0
  24. package/skills/purgetss/references/opacity-modifier.md +11 -2
  25. package/skills/purgetss/references/semantic-colors.md +44 -1
  26. package/skills/purgetss/references/tikit-components.md +1 -3
  27. package/skills/alloy-guides/SKILL.md +0 -190
  28. package/skills/alloy-guides/references/CLI_TASKS.md +0 -233
  29. package/skills/alloy-guides/references/CONCEPTS.md +0 -171
  30. package/skills/alloy-guides/references/CONTROLLERS.md +0 -279
  31. package/skills/alloy-guides/references/MODELS.md +0 -1214
  32. package/skills/alloy-guides/references/PURGETSS.md +0 -46
  33. package/skills/alloy-guides/references/VIEWS_DYNAMIC.md +0 -235
  34. package/skills/alloy-guides/references/VIEWS_STYLES.md +0 -375
  35. package/skills/alloy-guides/references/VIEWS_WITHOUT_CONTROLLERS.md +0 -102
  36. package/skills/alloy-guides/references/VIEWS_XML.md +0 -581
  37. package/skills/alloy-guides/references/WIDGETS.md +0 -160
  38. package/skills/alloy-howtos/SKILL.md +0 -181
  39. package/skills/alloy-howtos/references/best_practices.md +0 -121
  40. package/skills/alloy-howtos/references/cli_reference.md +0 -230
  41. package/skills/alloy-howtos/references/config_files.md +0 -158
  42. package/skills/alloy-howtos/references/custom_tags.md +0 -148
  43. package/skills/alloy-howtos/references/debugging_troubleshooting.md +0 -78
  44. package/skills/alloy-howtos/references/samples.md +0 -156
  45. package/skills/ti-api/SKILL.md +0 -109
  46. package/skills/ti-api/references/api-android.md +0 -675
  47. package/skills/ti-api/references/api-app-platform.md +0 -636
  48. package/skills/ti-api/references/api-core.md +0 -764
  49. package/skills/ti-api/references/api-data-network.md +0 -641
  50. package/skills/ti-api/references/api-media.md +0 -655
  51. package/skills/ti-api/references/api-modules-ble-bluetooth.md +0 -657
  52. package/skills/ti-api/references/api-modules-coremotion-urlsession.md +0 -411
  53. package/skills/ti-api/references/api-modules-map.md +0 -632
  54. package/skills/ti-api/references/api-modules-nfc.md +0 -725
  55. package/skills/ti-api/references/api-modules-social-misc.md +0 -526
  56. package/skills/ti-api/references/api-services.md +0 -700
  57. package/skills/ti-api/references/api-ui-android.md +0 -499
  58. package/skills/ti-api/references/api-ui-extras.md +0 -702
  59. package/skills/ti-api/references/api-ui-ios-animator.md +0 -378
  60. package/skills/ti-api/references/api-ui-ios.md +0 -756
  61. package/skills/ti-api/references/api-ui-lists.md +0 -581
  62. package/skills/ti-api/references/api-ui-text-input.md +0 -607
  63. package/skills/ti-api/references/api-ui-views.md +0 -572
  64. package/skills/ti-api/references/api-ui-windows-navigation.md +0 -676
  65. package/skills/ti-api/references/api-xml-global.md +0 -743
  66. package/skills/ti-guides/SKILL.md +0 -75
  67. package/skills/ti-guides/references/advanced-data-and-images.md +0 -155
  68. package/skills/ti-guides/references/android-manifest.md +0 -97
  69. package/skills/ti-guides/references/app-distribution.md +0 -373
  70. package/skills/ti-guides/references/application-frameworks.md +0 -366
  71. package/skills/ti-guides/references/cli-reference.md +0 -700
  72. package/skills/ti-guides/references/coding-best-practices.md +0 -150
  73. package/skills/ti-guides/references/commonjs-advanced.md +0 -279
  74. package/skills/ti-guides/references/hello-world.md +0 -99
  75. package/skills/ti-guides/references/hyperloop-native-access.md +0 -458
  76. package/skills/ti-guides/references/javascript-primer.md +0 -402
  77. package/skills/ti-guides/references/reserved-words.md +0 -36
  78. package/skills/ti-guides/references/resources.md +0 -172
  79. package/skills/ti-guides/references/style-and-conventions.md +0 -104
  80. package/skills/ti-guides/references/tiapp-config.md +0 -655
  81. package/skills/ti-howtos/SKILL.md +0 -143
  82. package/skills/ti-howtos/references/android-platform-deep-dives.md +0 -609
  83. package/skills/ti-howtos/references/automation-fastlane-appium.md +0 -96
  84. package/skills/ti-howtos/references/buffer-codec-streams.md +0 -162
  85. package/skills/ti-howtos/references/cross-platform-development.md +0 -358
  86. package/skills/ti-howtos/references/debugging-profiling.md +0 -473
  87. package/skills/ti-howtos/references/extending-titanium.md +0 -684
  88. package/skills/ti-howtos/references/google-maps-v2.md +0 -172
  89. package/skills/ti-howtos/references/ios-map-kit.md +0 -149
  90. package/skills/ti-howtos/references/ios-platform-deep-dives.md +0 -595
  91. package/skills/ti-howtos/references/local-data-sources.md +0 -310
  92. package/skills/ti-howtos/references/location-and-maps.md +0 -267
  93. package/skills/ti-howtos/references/media-apis.md +0 -268
  94. package/skills/ti-howtos/references/notification-services.md +0 -539
  95. package/skills/ti-howtos/references/remote-data-sources.md +0 -339
  96. package/skills/ti-howtos/references/tutorials.md +0 -552
  97. package/skills/ti-howtos/references/using-modules.md +0 -182
  98. package/skills/ti-howtos/references/web-content-integration.md +0 -288
  99. package/skills/ti-howtos/references/webpack-build-pipeline.md +0 -125
@@ -1,378 +0,0 @@
1
- # Ti.UI.iOS Animator & Physics API Reference
2
-
3
- ## Ti.UI.iOS.AnchorAttachmentBehavior
4
- > Dynamic behavior to support connections between an anchor point and an item.
5
- > Extends Ti.Proxy
6
- > Platforms: ios
7
-
8
- An anchor attachment behavior creates a dynamic connection between an anchor point and an item.
9
- To define an anchor attachment behavior:
10
-
11
- 1. Use the <Titanium.UI.iOS.createAnchorAttachmentBehavior> method to create a behavior.
12
- 2. Set the [anchor](Titanium.UI.iOS.AnchorAttachmentBehavior.anchor) and
13
- [item](Titanium.UI.iOS.AnchorAttachmentBehavior.item) properties.
14
- 3. Add the behavior to the [Animator object](Titanium.UI.iOS.Animator).
15
-
16
- To create a dynamic connection between two items, use <Titanium.UI.iOS.ViewAttachmentBehavior>.
17
-
18
- ### Properties (unique: 6/8)
19
- | Property | Type | Default | Platform | Description |
20
- |----------|------|---------|----------|-------------|
21
- | anchor | Point | (0,0) | ios | Anchor point for the attachment behavior relative to the animator's coordinate … |
22
- | damping | Number | 0 | ios | Amount of damping to apply to the attachment behavior. |
23
- | distance | Number | 0 | ios | Distance, in points, between the two attachment points. |
24
- | frequency | Number | 0 | ios | Frequency of oscillation for the behavior. |
25
- | item | Ti.UI.View | — | ios | Item to connect to use the attachment behavior. |
26
- | offset | Point | (0,0) | ios | Offset from the center point of the item for the attachment. |
27
-
28
-
29
-
30
-
31
- ### Related Types
32
-
33
- #### Point
34
- > A pair of coordinates used to describe the location of a <Titanium.UI.View>.
35
-
36
- | Property | Type | Description |
37
- |----------|------|-------------|
38
- | x | Number \| String | The x-axis coordinate of this point. |
39
- | y | Number \| String | The y-axis coordinate of this point. |
40
-
41
- ---
42
-
43
- ## Ti.UI.iOS.Animator
44
- > Provides support for the built-in iOS dynamic animations
45
- > Extends Ti.Proxy
46
- > Platforms: ios
47
-
48
- The animator provides physics-related capabilities and animations using the iOS physics engine.
49
- Each animator is independent of other animators you create. An animator is comprised of
50
- behaviors and items. Behaviors define the rules of the animation, while items are the
51
- view objects to be animated. An item in the animator can be given
52
- multiple behaviors as long as those behaviors belong to the same animator.
53
-
54
- To use these dynamic animations, first create the items to animate, then:
55
-
56
- **1.** Create an animator using the <Titanium.UI.iOS.createAnimator> method.
57
-
58
- **2.** Set the [referenceView](Titanium.UI.iOS.Animator.referenceView) property to establish the
59
- coordinate system for the animations.
60
-
61
- **3.** Create and add items to one or more of the following behaviors:
62
-
63
-
64
- *(See full overview in titanium-docs)*
65
-
66
- ### Properties (unique: 3/5)
67
- | Property | Type | Default | Platform | Description |
68
- |----------|------|---------|----------|-------------|
69
- | behaviors | Array<Titanium.Proxy> | — | ios | Behaviors associated with this animator. |
70
- | referenceView | Ti.UI.View | — | ios | Titanium View object to initialize as the reference view for the animator. |
71
- | running | Boolean | — | ios | Returns `true` if the animator is running else `false`. |
72
-
73
-
74
- ### Methods (6)
75
- | Method | Returns | Platform | Description |
76
- |--------|---------|----------|-------------|
77
- | addBehavior(behavior) | void | ios | Adds a dynamic behavior to the animator. |
78
- | removeAllBehaviors(—) | void | ios | Removes all behaviors from this animator. |
79
- | removeBehavior(behavior) | void | ios | Removes the specified behavior from the animator. |
80
- | startAnimator(—) | void | ios | Starts the animation behaviors. |
81
- | stopAnimator(—) | void | ios | Stops the animation behaviors. |
82
- | updateItemUsingCurrentState(item) | void | ios | Updates the animator's state information with the current state of the specifie… |
83
-
84
- ### Events (2)
85
- | Event | Platform | Description |
86
- |-------|----------|-------------|
87
- | pause | ios | Fired when the animator paused its animations. |
88
- | resume | ios | Fired when the animator resumes its animations. |
89
-
90
- ---
91
-
92
- ## Ti.UI.iOS.CollisionBehavior
93
- > Dynamic behavior to support collisions between items and boundaries.
94
- > Extends Ti.Proxy
95
- > Platforms: ios
96
-
97
- A collision behavior specifies the behavior when items collide with each other and boundaries.
98
- To define a collision behavior:
99
-
100
- 1. Use the <Titanium.UI.iOS.createCollisionBehavior> method to create and define the behavior.
101
- 2. Use the [addItem](Titanium.UI.iOS.CollisionBehavior.addItem) method to add items to the behavior.
102
- 3. Use the [addBoundary](Titanium.UI.iOS.CollisionBehavior.addBoundary) method to add custom
103
- boundaries for the item to collide with. By default, the behavior uses the Animator
104
- object's reference view as the boundary.
105
- 4. Add the behavior to an [Animator object](Titanium.UI.iOS.Animator).
106
-
107
- ### Properties (unique: 5/7)
108
- | Property | Type | Default | Platform | Description |
109
- |----------|------|---------|----------|-------------|
110
- | boundaryIdentifiers | Array<BoundaryIdentifier> | — | ios | Boundary identfiers added to this behavior. |
111
- | collisionMode | Number | <Titanium.UI.iOS.COLLISION_MODE_ALL> | ios | Specifies the collision behavior. |
112
- | items | Array<Titanium.UI.View> | — | ios | Items added to this behavior. |
113
- | referenceInsets | Padding | All insets are zero. | ios | Insets to apply when using the animator's reference view as the boundary. |
114
- | treatReferenceAsBoundary | Boolean | true | ios | Use the animator's reference view as the boundary. |
115
-
116
-
117
- ### Methods (5)
118
- | Method | Returns | Platform | Description |
119
- |--------|---------|----------|-------------|
120
- | addBoundary(boundary) | void | ios | Adds a boundary to this behavior. |
121
- | addItem(item) | void | ios | Adds an item to this behavior. |
122
- | removeAllBoundaries(—) | void | ios | Removes all boundaries from this behavior. |
123
- | removeBoundary(boundary) | void | ios | Removes the specified boundary from this behavior. |
124
- | removeItem(item) | void | ios | Removes the specified item from this behavior. |
125
-
126
- ### Events (2)
127
- | Event | Platform | Description |
128
- |-------|----------|-------------|
129
- | boundarycollision | ios | Fired when an item collides with a boundary. |
130
- | itemcollision | ios | Fired when two items collide. |
131
-
132
- ### Related Types
133
-
134
- #### BoundaryIdentifier
135
- > Dictionary to specify a boundary identifier for <Titanium.UI.iOS.CollisionBehavior.addBoundary>.
136
-
137
- | Property | Type | Description |
138
- |----------|------|-------------|
139
- | identifier | String | Arbitrary identifier for the boundary |
140
- | point1 | Point | Start point for the boundary |
141
- | point2 | Point | End point for the boundary |
142
-
143
- #### Padding
144
- > Dictionary object of parameters for the padding/insets applied to all kinds of views.
145
-
146
- | Property | Type | Description |
147
- |----------|------|-------------|
148
- | left | Number | Left padding/inset |
149
- | right | Number | Right padding/inset |
150
- | top | Number | Top padding/inset |
151
- | bottom | Number | Bottom padding/inset |
152
-
153
- #### Point
154
- > A pair of coordinates used to describe the location of a <Titanium.UI.View>.
155
-
156
- | Property | Type | Description |
157
- |----------|------|-------------|
158
- | x | Number \| String | The x-axis coordinate of this point. |
159
- | y | Number \| String | The y-axis coordinate of this point. |
160
-
161
- ---
162
-
163
- ## Ti.UI.iOS.DynamicItemBehavior
164
- > Base dynamic configuration for an item.
165
- > Extends Ti.Proxy
166
- > Platforms: ios
167
-
168
- A dynamic item behavior configures the physics attributes for one or more items. These
169
- attributes, such as density and resistance, affects the behavior of the object when other behaviors,
170
- such as push forces or collisions, are applied to it. To define a dynamic behavior for an item:
171
-
172
- 1. Use the <Titanium.UI.iOS.createDynamicItemBehavior> method to create and define the behavior.
173
- 2. Use the [addItem](Titanium.UI.iOS.DynamicItemBehavior.addItem) method to add items to the behavior.
174
- 3. Add the behavior to an [Animator object](Titanium.UI.iOS.Animator).
175
-
176
- ### Properties (unique: 7/9)
177
- | Property | Type | Default | Platform | Description |
178
- |----------|------|---------|----------|-------------|
179
- | allowsRotation | Boolean | true | ios | Specifies if this item can rotate. |
180
- | angularResistance | Number | 0 | ios | Specifies the angular resistance of this item. |
181
- | density | Number | 1 | ios | Specifies the relative mass density of this item. |
182
- | elasticity | Number | 0 | ios | Specifies the elasticity applied to collisions for this item. |
183
- | friction | Number | 0 | ios | Specifies the linear resistance of the item when it slides against another item. |
184
- | items | Array<Titanium.UI.View> | — | ios | Items added to this behavior. |
185
- | resistance | Number | 0 | ios | Specifies the linear resistance of this item which reduces linear velocity over… |
186
-
187
-
188
- ### Methods (6)
189
- | Method | Returns | Platform | Description |
190
- |--------|---------|----------|-------------|
191
- | addAngularVelocityForItem(item, velocity) | void | ios | Adds a specified angular velocity for the item. |
192
- | addItem(item) | void | ios | Adds an item to this behavior. |
193
- | addLinearVelocityForItem(item, velocity) | void | ios | Adds a specified linear velocity for the item. |
194
- | angularVelocityForItem(item) | Number | ios | Returns the angular velocity of the item. |
195
- | linearVelocityForItem(item) | Point | ios | Returns the linear velocity of the item. |
196
- | removeItem(item) | void | ios | Removes the specified item from this behavior. |
197
-
198
-
199
- ### Related Types
200
-
201
- #### Point
202
- > A pair of coordinates used to describe the location of a <Titanium.UI.View>.
203
-
204
- | Property | Type | Description |
205
- |----------|------|-------------|
206
- | x | Number \| String | The x-axis coordinate of this point. |
207
- | y | Number \| String | The y-axis coordinate of this point. |
208
-
209
- ---
210
-
211
- ## Ti.UI.iOS.GravityBehavior
212
- > Gravitational force to apply to an item.
213
- > Extends Ti.Proxy
214
- > Platforms: ios
215
-
216
- A gravity behavior configures the gravity vector of one or more items. To define a gravity
217
- behavior:
218
-
219
- 1. Use the <Titanium.UI.iOS.createGravityBehavior> method to create and define the behavior.
220
- 2. To define a gravity vector, either set the
221
- [angle](Titanium.UI.iOS.GravityBehavior.angle) and
222
- [magnitude](Titanium.UI.iOS.GravityBehavior.magnitude) properties, or set the
223
- [gravityDirection](Titanium.UI.iOS.GravityBehavior.gravityDirection) property.
224
- 3. Use the [addItem](Titanium.UI.iOS.GravityBehavior.addItem) method to add items to the behavior.
225
- 4. Add the behavior to an [Animator object](Titanium.UI.iOS.Animator).
226
-
227
- You can only define one gravity behavior per animator.
228
-
229
- ### Properties (unique: 4/6)
230
- | Property | Type | Default | Platform | Description |
231
- |----------|------|---------|----------|-------------|
232
- | angle | Number | 0 | ios | Specifies the angle of the gravity vector in radians. |
233
- | gravityDirection | Point | (0, 0) | ios | Specifies the direction of the gravity vector as an x, y pair. |
234
- | items | Array<Titanium.UI.View> | — | ios | Items added to this behavior. |
235
- | magnitude | Number | 0 | ios | Specifies the magnitude of the gravity vector. |
236
-
237
-
238
- ### Methods (2)
239
- | Method | Returns | Platform | Description |
240
- |--------|---------|----------|-------------|
241
- | addItem(item) | void | ios | Adds an item to this behavior. |
242
- | removeItem(item) | void | ios | Removes the specified item from this behavior. |
243
-
244
-
245
- ### Related Types
246
-
247
- #### Point
248
- > A pair of coordinates used to describe the location of a <Titanium.UI.View>.
249
-
250
- | Property | Type | Description |
251
- |----------|------|-------------|
252
- | x | Number \| String | The x-axis coordinate of this point. |
253
- | y | Number \| String | The y-axis coordinate of this point. |
254
-
255
- ---
256
-
257
- ## Ti.UI.iOS.PushBehavior
258
- > Continuous or instantaneous force to apply to an item.
259
- > Extends Ti.Proxy
260
- > Platforms: ios
261
-
262
- A push behavior configures the continuous or instaneous force to apply to one or more items. To
263
- define a push behavior:
264
-
265
- 1. Use the <Titanium.UI.iOS.createPushBehavior> method to create and define the behavior.
266
- 2. To define a force vector, either set the
267
- [angle](Titanium.UI.iOS.PushBehavior.angle) and
268
- [magnitude](Titanium.UI.iOS.PushBehavior.magnitude) properties, or set the
269
- [pushDirection](Titanium.UI.iOS.PushBehavior.pushDirection) property.
270
- 3. Use the [addItem](Titanium.UI.iOS.PushBehavior.addItem) method to add items to the behavior.
271
- 4. Add the behavior to an [Animator object](Titanium.UI.iOS.Animator).
272
-
273
- ### Properties (unique: 6/8)
274
- | Property | Type | Default | Platform | Description |
275
- |----------|------|---------|----------|-------------|
276
- | active | Boolean | true | ios | State of the push behavior's force. |
277
- | angle | Number | 0 | ios | Specifies the angle of the force vector in radians. |
278
- | items | Array<Titanium.UI.View> | — | ios | Items added to this behavior. |
279
- | magnitude | Number | 0 | ios | Specifies the magnitude of the force vector. |
280
- | pushDirection | Point | (0,0) | ios | Specifies the direction of the force vector as an x, y pair. |
281
- | pushMode | Number | <Titanium.UI.iOS.PUSH_MODE_CONTINUOUS> | ios | Specifies the push mode. |
282
-
283
-
284
- ### Methods (2)
285
- | Method | Returns | Platform | Description |
286
- |--------|---------|----------|-------------|
287
- | addItem(item) | void | ios | Adds an item to this behavior. |
288
- | removeItem(item) | void | ios | Removes the specified item from this behavior. |
289
-
290
-
291
- ### Related Types
292
-
293
- #### Point
294
- > A pair of coordinates used to describe the location of a <Titanium.UI.View>.
295
-
296
- | Property | Type | Description |
297
- |----------|------|-------------|
298
- | x | Number \| String | The x-axis coordinate of this point. |
299
- | y | Number \| String | The y-axis coordinate of this point. |
300
-
301
- ---
302
-
303
- ## Ti.UI.iOS.SnapBehavior
304
- > Dynamic behavior defining an item's movement to a specific point.
305
- > Extends Ti.Proxy
306
- > Platforms: ios
307
-
308
- A snap behavior specifies how an item moves towards a specified point with a spring-like
309
- effect, ending with an oscillation.
310
-
311
- 1. Use the <Titanium.UI.iOS.createSnapBehavior> method to create the behavior.
312
- 2. Set the [item](Titanium.UI.iOS.SnapBehavior.item) and
313
- [snapPoint](Titanium.UI.iOS.SnapBehavior.snapPoint) properties.
314
- 3. Add the behavior to an [Animator object](Titanium.UI.iOS.Animator).
315
-
316
- ### Properties (unique: 3/5)
317
- | Property | Type | Default | Platform | Description |
318
- |----------|------|---------|----------|-------------|
319
- | damping | Number | 0.5 | ios | Specifies the amount of oscillation during the conclusion of the snap. |
320
- | item | Ti.UI.View | — | ios | Item to add to this behavior. |
321
- | snapPoint | Point | (0,0) | ios | Specifies the point to snap to. |
322
-
323
-
324
-
325
-
326
- ### Related Types
327
-
328
- #### Point
329
- > A pair of coordinates used to describe the location of a <Titanium.UI.View>.
330
-
331
- | Property | Type | Description |
332
- |----------|------|-------------|
333
- | x | Number \| String | The x-axis coordinate of this point. |
334
- | y | Number \| String | The y-axis coordinate of this point. |
335
-
336
- ---
337
-
338
- ## Ti.UI.iOS.ViewAttachmentBehavior
339
- > Dynamic behavior to support connections between two items.
340
- > Extends Ti.Proxy
341
- > Platforms: ios
342
-
343
- A view attachment behavior creates a dynamic connection between two items. To define a view
344
- attachment behavior:
345
-
346
- 1. Use the <Titanium.UI.iOS.createViewAttachmentBehavior> method to create and define a behavior.
347
- 2. Set the [anchorItem](Titanium.UI.iOS.ViewAttachmentBehavior.anchorItem) and
348
- [item](Titanium.UI.iOS.ViewAttachmentBehavior.item) properties.
349
- 3. Add the behavior to the [Animator object](Titanium.UI.iOS.Animator).
350
-
351
- To create a dynamic connection between an item and anchor point, use <Titanium.UI.iOS.AnchorAttachmentBehavior>.
352
-
353
- ### Properties (unique: 7/9)
354
- | Property | Type | Default | Platform | Description |
355
- |----------|------|---------|----------|-------------|
356
- | anchorItem | Ti.UI.View | — | ios | Item to use as the anchor in this behavior. |
357
- | anchorOffset | Point | (0,0) | ios | Offset from the center point of the anchor item for the attachment. |
358
- | damping | Number | 0 | ios | Amount of damping to apply to the attachment behavior. |
359
- | distance | Number | 0 | ios | Distance, in points, between the two attachment points. |
360
- | frequency | Number | 0 | ios | Frequency of oscillation for the behavior. |
361
- | item | Ti.UI.View | — | ios | Item to connect to use the attachment behavior. |
362
- | itemOffset | Point | (0,0) | ios | Offset from the center point of the item for the attachment. |
363
-
364
-
365
-
366
-
367
- ### Related Types
368
-
369
- #### Point
370
- > A pair of coordinates used to describe the location of a <Titanium.UI.View>.
371
-
372
- | Property | Type | Description |
373
- |----------|------|-------------|
374
- | x | Number \| String | The x-axis coordinate of this point. |
375
- | y | Number \| String | The y-axis coordinate of this point. |
376
-
377
- ---
378
-