@maccesar/titools 2.2.11 → 2.3.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.
- package/README.md +255 -713
- package/bin/titools.js +1 -1
- package/lib/commands/update.js +5 -6
- package/lib/config.js +1 -0
- package/lib/downloader.js +10 -0
- package/package.json +1 -1
- package/skills/alloy-guides/SKILL.md +46 -48
- package/skills/alloy-guides/references/CONTROLLERS.md +4 -6
- package/skills/alloy-guides/references/MODELS.md +340 -184
- package/skills/alloy-guides/references/VIEWS_DYNAMIC.md +3 -4
- package/skills/alloy-guides/references/VIEWS_STYLES.md +44 -46
- package/skills/alloy-guides/references/VIEWS_WITHOUT_CONTROLLERS.md +4 -5
- package/skills/alloy-guides/references/VIEWS_XML.md +51 -17
- package/skills/alloy-guides/references/WIDGETS.md +1 -1
- package/skills/alloy-howtos/SKILL.md +12 -13
- package/skills/alloy-howtos/references/cli_reference.md +40 -41
- package/skills/alloy-howtos/references/samples.md +3 -4
- package/skills/purgetss/SKILL.md +369 -356
- package/skills/purgetss/references/EXAMPLES.md +24 -25
- package/skills/purgetss/references/animation-advanced.md +555 -0
- package/skills/purgetss/references/animation-system.md +395 -995
- package/skills/purgetss/references/apply-directive.md +111 -141
- package/skills/purgetss/references/arbitrary-values.md +206 -480
- package/skills/purgetss/references/class-categories.md +277 -0
- package/skills/purgetss/references/class-index.md +1 -420
- package/skills/purgetss/references/cli-commands.md +446 -556
- package/skills/purgetss/references/configurable-properties.md +163 -599
- package/skills/purgetss/references/custom-rules.md +33 -76
- package/skills/purgetss/references/customization-deep-dive.md +319 -518
- package/skills/purgetss/references/dynamic-component-creation.md +33 -37
- package/skills/purgetss/references/grid-layout.md +42 -371
- package/skills/purgetss/references/icon-fonts.md +82 -475
- package/skills/purgetss/references/installation-setup.md +159 -331
- package/skills/purgetss/references/migration-guide.md +54 -109
- package/skills/purgetss/references/opacity-modifier.md +25 -222
- package/skills/purgetss/references/performance-tips.md +2 -2
- package/skills/purgetss/references/platform-modifiers.md +21 -407
- package/skills/purgetss/references/tikit-components.md +237 -104
- package/skills/purgetss/references/titanium-resets.md +20 -21
- package/skills/purgetss/references/ui-ux-design.md +171 -1702
- package/skills/ti-api/SKILL.md +109 -0
- package/skills/ti-api/references/api-android.md +675 -0
- package/skills/ti-api/references/api-app-platform.md +636 -0
- package/skills/ti-api/references/api-core.md +764 -0
- package/skills/ti-api/references/api-data-network.md +641 -0
- package/skills/ti-api/references/api-media.md +655 -0
- package/skills/ti-api/references/api-modules-ble-bluetooth.md +657 -0
- package/skills/ti-api/references/api-modules-coremotion-urlsession.md +411 -0
- package/skills/ti-api/references/api-modules-map.md +632 -0
- package/skills/ti-api/references/api-modules-nfc.md +725 -0
- package/skills/ti-api/references/api-modules-social-misc.md +526 -0
- package/skills/ti-api/references/api-services.md +700 -0
- package/skills/ti-api/references/api-ui-android.md +499 -0
- package/skills/ti-api/references/api-ui-extras.md +702 -0
- package/skills/ti-api/references/api-ui-ios-animator.md +378 -0
- package/skills/ti-api/references/api-ui-ios.md +756 -0
- package/skills/ti-api/references/api-ui-lists.md +581 -0
- package/skills/ti-api/references/api-ui-text-input.md +607 -0
- package/skills/ti-api/references/api-ui-views.md +572 -0
- package/skills/ti-api/references/api-ui-windows-navigation.md +676 -0
- package/skills/ti-api/references/api-xml-global.md +743 -0
- package/skills/ti-expert/SKILL.md +106 -138
- package/skills/ti-expert/references/adaptive-layouts.md +414 -0
- package/skills/ti-expert/references/alloy-builtins.md +16 -20
- package/skills/ti-expert/references/alloy-structure.md +40 -42
- package/skills/ti-expert/references/anti-patterns.md +34 -0
- package/skills/ti-expert/references/architecture-tiers.md +248 -0
- package/skills/ti-expert/references/code-conventions.md +5 -3
- package/skills/ti-expert/references/error-handling.md +14 -7
- package/skills/ti-expert/references/examples.md +4 -2
- package/skills/ti-expert/references/performance-optimization.md +26 -24
- package/skills/ti-expert/references/security-device.md +17 -14
- package/skills/ti-expert/references/security-fundamentals.md +60 -101
- package/skills/ti-expert/references/state-management.md +15 -14
- package/skills/ti-expert/references/testing-e2e-ci.md +30 -21
- package/skills/ti-expert/references/theming.md +12 -20
- package/skills/ti-guides/SKILL.md +13 -17
- package/skills/ti-guides/references/advanced-data-and-images.md +30 -10
- package/skills/ti-guides/references/application-frameworks.md +3 -3
- package/skills/ti-guides/references/coding-best-practices.md +31 -2
- package/skills/ti-guides/references/commonjs-advanced.md +46 -4
- package/skills/ti-guides/references/hello-world.md +9 -13
- package/skills/ti-guides/references/hyperloop-native-access.md +4 -1
- package/skills/ti-guides/references/javascript-primer.md +13 -5
- package/skills/ti-guides/references/resources.md +0 -2
- package/skills/ti-guides/references/style-and-conventions.md +1 -0
- package/skills/ti-guides/references/tiapp-config.md +0 -32
- package/skills/ti-howtos/SKILL.md +43 -45
- package/skills/ti-howtos/references/buffer-codec-streams.md +25 -3
- package/skills/ti-howtos/references/debugging-profiling.md +14 -25
- package/skills/ti-howtos/references/google-maps-v2.md +3 -3
- package/skills/ti-howtos/references/ios-map-kit.md +8 -1
- package/skills/ti-howtos/references/notification-services.md +0 -1
- package/skills/ti-howtos/references/webpack-build-pipeline.md +3 -0
- package/skills/ti-ui/SKILL.md +47 -49
- package/skills/ti-ui/references/application-structures.md +3 -2
- package/skills/ti-ui/references/orientation.md +17 -9
- package/skills/ti-ui/references/platform-ui-ios.md +63 -0
- package/skills/ti-ui/references/scrolling-views.md +39 -0
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ti-api
|
|
3
|
+
description: "Titanium SDK complete API reference. Use when looking up properties, methods, events, constants, or type signatures for any Ti.* or Modules.* API. Covers Ti.UI, Ti.Android, Ti.App, Ti.Media, Ti.Network, Ti.Database, Ti.Filesystem, Ti.Geolocation, Ti.Contacts, Ti.Calendar, Global, and third-party modules (Map, BLE, NFC, Facebook, Identity, CoreMotion)."
|
|
4
|
+
argument-hint: "[Ti.UI.Window | Ti.Network.HTTPClient | Modules.Map.View | ...]"
|
|
5
|
+
allowed-tools: Read, Grep, Glob
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Titanium API Reference
|
|
9
|
+
|
|
10
|
+
Quick lookup for properties, methods, events, and constants across all Titanium SDK and module APIs.
|
|
11
|
+
|
|
12
|
+
## How to use this skill
|
|
13
|
+
|
|
14
|
+
1. Identify which namespace the API belongs to
|
|
15
|
+
2. Look up the reference file in the table below
|
|
16
|
+
3. Read the reference file for full property/method/event tables
|
|
17
|
+
|
|
18
|
+
## Namespace Lookup
|
|
19
|
+
|
|
20
|
+
| Namespace | Reference File | Contents |
|
|
21
|
+
|-----------|---------------|----------|
|
|
22
|
+
| Titanium.UI.View, Titanium.UI.Label, Titanium.UI.Button, Titanium.UI.ImageView, ... | [api-ui-views.md](references/api-ui-views.md) | Ti.UI Core Views (13 APIs) |
|
|
23
|
+
| Titanium.UI.Window, Titanium.UI.NavigationWindow, Titanium.UI.TabGroup, Titanium.UI.Tab, ... | [api-ui-windows-navigation.md](references/api-ui-windows-navigation.md) | Ti.UI Windows & Navigation (7 APIs) |
|
|
24
|
+
| Titanium.UI.TextField, Titanium.UI.TextArea, Titanium.UI.SearchBar, Titanium.UI.AttributedString, ... | [api-ui-text-input.md](references/api-ui-text-input.md) | Ti.UI Text & Input (9 APIs) |
|
|
25
|
+
| Titanium.UI.ListView, Titanium.UI.ListItem, Titanium.UI.ListSection, Titanium.UI.ListViewScrollPosition, ... | [api-ui-lists.md](references/api-ui-lists.md) | Ti.UI Lists & Tables (8 APIs) |
|
|
26
|
+
| Titanium.UI.Animation, Titanium.UI.Matrix2D, Titanium.UI.Matrix3D, Titanium.UI.WebView, ... | [api-ui-extras.md](references/api-ui-extras.md) | Ti.UI Extras (13 APIs) |
|
|
27
|
+
| Titanium.UI.iOS | [api-ui-ios.md](references/api-ui-ios.md) | Ti.UI.iOS (36 APIs) |
|
|
28
|
+
| Titanium.UI.iOS | [api-ui-ios-animator.md](references/api-ui-ios-animator.md) | Ti.UI.iOS Animator & Physics (8 APIs) |
|
|
29
|
+
| Titanium.UI.Android, Titanium.UI.iPad | [api-ui-android.md](references/api-ui-android.md) | Ti.UI.Android (10 APIs) |
|
|
30
|
+
| Titanium.Android, Titanium.Android.ActionBar, Titanium.Android.Activity, Titanium.Android.BigPictureStyle, ... | [api-android.md](references/api-android.md) | Ti.Android (17 APIs) |
|
|
31
|
+
| Titanium.App, Titanium.App.Android, Titanium.App.Properties, Titanium.App.iOS, ... | [api-app-platform.md](references/api-app-platform.md) | Ti.App & Ti.Platform (18 APIs) |
|
|
32
|
+
| Titanium.Media, Titanium.Media.Android, Titanium.Media.AudioPlayer, Titanium.Media.AudioRecorder, ... | [api-media.md](references/api-media.md) | Ti.Media (9 APIs) |
|
|
33
|
+
| Titanium.Database, Titanium.Database.DB, Titanium.Database.ResultSet, Titanium.Filesystem, ... | [api-data-network.md](references/api-data-network.md) | Ti.Network, Ti.Database & Ti.Filesystem (14 APIs) |
|
|
34
|
+
| Titanium.Calendar, Titanium.Calendar.Alert, Titanium.Calendar.Attendee, Titanium.Calendar.Calendar, ... | [api-services.md](references/api-services.md) | Ti.Geolocation, Ti.Contacts, Ti.Calendar & Ti.WatchSession (15 APIs) |
|
|
35
|
+
| Titanium, Titanium.UI, Titanium.API, Titanium.Accelerometer, ... | [api-core.md](references/api-core.md) | Ti Core (16 APIs) |
|
|
36
|
+
| Titanium.XML, Titanium.XML.Attr, Titanium.XML.CDATASection, Titanium.XML.CharacterData, ... | [api-xml-global.md](references/api-xml-global.md) | Ti.XML & Global (25 APIs) |
|
|
37
|
+
| Modules.Map, Modules.Map.Annotation, Modules.Map.Camera, Modules.Map.Circle, ... | [api-modules-map.md](references/api-modules-map.md) | Modules: Map (11 APIs) |
|
|
38
|
+
| Modules.Applesignin, Modules.Applesignin.LoginButton, Modules.Barcode, Modules.Crypto, ... | [api-modules-social-misc.md](references/api-modules-social-misc.md) | Modules: Facebook, Identity, Crypto & More (16 APIs) |
|
|
39
|
+
| Modules.BLE, Modules.BLE.Beacon, Modules.BLE.BeaconIdentityConstraint, Modules.BLE.BeaconRegion, ... | [api-modules-ble-bluetooth.md](references/api-modules-ble-bluetooth.md) | Modules: BLE & Bluetooth (20 APIs) |
|
|
40
|
+
| Modules.Nfc, Modules.Nfc.MifareTagTechnology, Modules.Nfc.NativeTagTechnology, Modules.Nfc.NdefMessage, ... | [api-modules-nfc.md](references/api-modules-nfc.md) | Modules: NFC (28 APIs) |
|
|
41
|
+
| Modules.CoreMotion, Modules.CoreMotion.Accelerometer, Modules.CoreMotion.Altimeter, Modules.CoreMotion.DeviceMotion, ... | [api-modules-coremotion-urlsession.md](references/api-modules-coremotion-urlsession.md) | Modules: CoreMotion & URLSession (12 APIs) |
|
|
42
|
+
|
|
43
|
+
## Quick lookup by common task
|
|
44
|
+
|
|
45
|
+
| Task | API | Reference |
|
|
46
|
+
|------|-----|-----------|
|
|
47
|
+
| Create a window | Ti.UI.Window | [api-ui-windows-navigation.md](references/api-ui-windows-navigation.md) |
|
|
48
|
+
| HTTP request | Ti.Network.HTTPClient | [api-data-network.md](references/api-data-network.md) |
|
|
49
|
+
| Show an alert | Ti.UI.AlertDialog | [api-ui-windows-navigation.md](references/api-ui-windows-navigation.md) |
|
|
50
|
+
| Play audio | Ti.Media.AudioPlayer | [api-media.md](references/api-media.md) |
|
|
51
|
+
| Read a file | Ti.Filesystem.File | [api-data-network.md](references/api-data-network.md) |
|
|
52
|
+
| SQLite query | Ti.Database.DB | [api-data-network.md](references/api-data-network.md) |
|
|
53
|
+
| GPS location | Ti.Geolocation | [api-services.md](references/api-services.md) |
|
|
54
|
+
| Push notification | Ti.App.iOS | [api-app-platform.md](references/api-app-platform.md) |
|
|
55
|
+
| ListView | Ti.UI.ListView | [api-ui-lists.md](references/api-ui-lists.md) |
|
|
56
|
+
| Camera/gallery | Ti.Media | [api-media.md](references/api-media.md) |
|
|
57
|
+
| Map view | Modules.Map.View | [api-modules-map.md](references/api-modules-map.md) |
|
|
58
|
+
| BLE scanning | Modules.BLE | [api-modules-ble-bluetooth.md](references/api-modules-ble-bluetooth.md) |
|
|
59
|
+
| Animation | Ti.UI.Animation | [api-ui-extras.md](references/api-ui-extras.md) |
|
|
60
|
+
| WebView | Ti.UI.WebView | [api-ui-extras.md](references/api-ui-extras.md) |
|
|
61
|
+
| Contacts | Ti.Contacts | [api-services.md](references/api-services.md) |
|
|
62
|
+
|
|
63
|
+
## Reading the reference tables
|
|
64
|
+
|
|
65
|
+
Each API entry includes:
|
|
66
|
+
|
|
67
|
+
- **Summary** — one-line description
|
|
68
|
+
- **Extends** — parent type (inherited properties/methods not repeated)
|
|
69
|
+
- **Platforms** — `both` (android + ios), `android`, or `ios`
|
|
70
|
+
- **Properties table** — unique properties (not inherited), with type, default, platform
|
|
71
|
+
- **Methods table** — unique methods with parameters, return type, platform
|
|
72
|
+
- **Events table** — unique events with platform and description
|
|
73
|
+
- **Related Types** — inline struct definitions used by that API
|
|
74
|
+
|
|
75
|
+
### Property counts
|
|
76
|
+
|
|
77
|
+
Tables show `unique: X/Y` where X is properties defined on this class and Y is total including inherited. To see inherited properties, check the parent class.
|
|
78
|
+
|
|
79
|
+
## API coverage
|
|
80
|
+
|
|
81
|
+
| Category | APIs | Reference File |
|
|
82
|
+
|----------|------|---------------|
|
|
83
|
+
| Ti.UI Core Views | 13 | api-ui-views.md |
|
|
84
|
+
| Ti.UI Windows & Navigation | 7 | api-ui-windows-navigation.md |
|
|
85
|
+
| Ti.UI Text & Input | 9 | api-ui-text-input.md |
|
|
86
|
+
| Ti.UI Lists & Tables | 8 | api-ui-lists.md |
|
|
87
|
+
| Ti.UI Extras | 13 | api-ui-extras.md |
|
|
88
|
+
| Ti.UI.iOS | 36 | api-ui-ios.md |
|
|
89
|
+
| Ti.UI.iOS Animator & Physics | 8 | api-ui-ios-animator.md |
|
|
90
|
+
| Ti.UI.Android | 10 | api-ui-android.md |
|
|
91
|
+
| Ti.Android | 17 | api-android.md |
|
|
92
|
+
| Ti.App & Ti.Platform | 18 | api-app-platform.md |
|
|
93
|
+
| Ti.Media | 9 | api-media.md |
|
|
94
|
+
| Ti.Network, Ti.Database & Ti.Filesystem | 14 | api-data-network.md |
|
|
95
|
+
| Ti.Geolocation, Ti.Contacts, Ti.Calendar & Ti.WatchSession | 15 | api-services.md |
|
|
96
|
+
| Ti Core | 16 | api-core.md |
|
|
97
|
+
| Ti.XML & Global | 25 | api-xml-global.md |
|
|
98
|
+
| Modules: Map | 11 | api-modules-map.md |
|
|
99
|
+
| Modules: Facebook, Identity, Crypto & More | 16 | api-modules-social-misc.md |
|
|
100
|
+
| Modules: BLE & Bluetooth | 20 | api-modules-ble-bluetooth.md |
|
|
101
|
+
| Modules: NFC | 28 | api-modules-nfc.md |
|
|
102
|
+
| Modules: CoreMotion & URLSession | 12 | api-modules-coremotion-urlsession.md |
|
|
103
|
+
|
|
104
|
+
## Related skills
|
|
105
|
+
|
|
106
|
+
- **ti-ui** — UI/UX patterns, layout strategies, performance tips (narrative)
|
|
107
|
+
- **ti-expert** — Architecture patterns, memory management, anti-patterns
|
|
108
|
+
- **ti-howtos** — Integration guides for push, camera, maps, networking
|
|
109
|
+
- **ti-guides** — SDK fundamentals, tiapp.xml, Hyperloop
|