@maccesar/titools 4.1.0 → 4.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 +22 -5
- package/bin/titools.js +4 -4
- package/commands/ti-audit.md +13 -0
- package/commands/ti-check.md +15 -0
- package/commands/ti-new-screen.md +18 -0
- package/lib/claude-plugin.js +105 -0
- package/lib/cleanup.js +18 -0
- package/lib/commands/doctor.js +75 -3
- package/lib/commands/skills.js +66 -6
- package/lib/commands/uninstall.js +32 -2
- package/lib/commands/update.js +15 -0
- package/lib/config.js +37 -0
- package/lib/installer.js +85 -1
- package/lib/symlink.js +40 -3
- package/package.json +2 -1
- package/skills/alloy-guides/references/MODELS.md +23 -0
- package/skills/alloy-guides/references/MODELS_ADVANCED.md +19 -0
- package/skills/alloy-guides/references/VIEWS_STYLES.md +12 -0
- package/skills/alloy-guides/references/VIEWS_XML.md +18 -0
- package/skills/purgetss/references/EXAMPLES.md +24 -0
- package/skills/purgetss/references/animation-advanced.md +12 -0
- package/skills/purgetss/references/animation-system.md +23 -0
- package/skills/purgetss/references/app-branding.md +23 -0
- package/skills/purgetss/references/apply-directive.md +17 -0
- package/skills/purgetss/references/arbitrary-values.md +13 -0
- package/skills/purgetss/references/class-index-properties.md +11 -0
- package/skills/purgetss/references/cli-commands.md +27 -0
- package/skills/purgetss/references/customization-deep-dive.md +15 -0
- package/skills/purgetss/references/dynamic-component-creation.md +16 -0
- package/skills/purgetss/references/migration-guide.md +20 -0
- package/skills/purgetss/references/multi-density-images.md +27 -0
- package/skills/purgetss/references/semantic-colors.md +15 -0
- package/skills/purgetss/references/tikit-components.md +17 -0
- package/skills/purgetss/references/titanium-resets.md +16 -0
- package/skills/purgetss/references/ui-ux-design.md +20 -0
- package/skills/ti-api/references/api-android.md +23 -0
- package/skills/ti-api/references/api-app-platform.md +24 -0
- package/skills/ti-api/references/api-core.md +24 -0
- package/skills/ti-api/references/api-data-network.md +21 -0
- package/skills/ti-api/references/api-media.md +15 -1
- package/skills/ti-api/references/api-modules-ble-bluetooth.md +26 -0
- package/skills/ti-api/references/api-modules-coremotion-urlsession.md +18 -0
- package/skills/ti-api/references/api-modules-map.md +21 -2
- package/skills/ti-api/references/api-modules-nfc.md +34 -0
- package/skills/ti-api/references/api-modules-social-misc.md +22 -0
- package/skills/ti-api/references/api-services.md +21 -1
- package/skills/ti-api/references/api-ui-android.md +18 -0
- package/skills/ti-api/references/api-ui-extras.md +19 -1
- package/skills/ti-api/references/api-ui-ios-animator.md +14 -0
- package/skills/ti-api/references/api-ui-ios.md +42 -0
- package/skills/ti-api/references/api-ui-lists.md +14 -2
- package/skills/ti-api/references/api-ui-text-input.md +15 -0
- package/skills/ti-api/references/api-ui-views.md +19 -0
- package/skills/ti-api/references/api-ui-windows-navigation.md +13 -0
- package/skills/ti-api/references/api-xml-global.md +31 -0
- package/skills/ti-expert/references/adaptive-layouts.md +14 -0
- package/skills/ti-expert/references/alloy-builtins.md +15 -0
- package/skills/ti-expert/references/alloy-structure.md +15 -0
- package/skills/ti-expert/references/code-conventions.md +19 -0
- package/skills/ti-expert/references/controller-patterns.md +18 -0
- package/skills/ti-expert/references/error-handling.md +16 -0
- package/skills/ti-expert/references/examples.md +17 -0
- package/skills/ti-expert/references/migration-patterns.md +15 -0
- package/skills/ti-expert/references/patterns.md +16 -0
- package/skills/ti-expert/references/performance-optimization.md +17 -0
- package/skills/ti-expert/references/security-device.md +13 -0
- package/skills/ti-expert/references/state-management.md +16 -0
- package/skills/ti-expert/references/testing-e2e-ci.md +17 -0
- package/skills/ti-expert/references/testing-unit.md +20 -0
- package/skills/ti-expert/references/theming.md +20 -0
- package/skills/ti-guides/references/app-distribution.md +34 -0
- package/skills/ti-guides/references/application-frameworks.md +13 -0
- package/skills/ti-guides/references/cli-reference.md +16 -0
- package/skills/ti-guides/references/hyperloop-native-access.md +21 -0
- package/skills/ti-guides/references/javascript-primer.md +12 -0
- package/skills/ti-guides/references/tiapp-config.md +15 -0
- package/skills/ti-howtos/references/android-platform-deep-dives.md +15 -0
- package/skills/ti-howtos/references/cross-platform-development.md +16 -0
- package/skills/ti-howtos/references/debugging-profiling.md +15 -0
- package/skills/ti-howtos/references/extending-titanium.md +14 -0
- package/skills/ti-howtos/references/ios-platform-deep-dives.md +16 -0
- package/skills/ti-howtos/references/local-data-sources.md +32 -0
- package/skills/ti-howtos/references/notification-services.md +12 -0
- package/skills/ti-howtos/references/remote-data-sources.md +15 -0
- package/skills/ti-howtos/references/tutorials.md +13 -0
- package/skills/ti-ui/references/animation-and-matrices.md +17 -0
- package/skills/ti-ui/references/application-structures.md +19 -0
- package/skills/ti-ui/references/custom-fonts-styling.md +18 -0
- package/skills/ti-ui/references/event-handling.md +16 -0
- package/skills/ti-ui/references/gestures.md +17 -0
- package/skills/ti-ui/references/icons-and-splash-screens.md +17 -0
- package/skills/ti-ui/references/layouts-and-positioning.md +16 -0
- package/skills/ti-ui/references/listviews-and-performance.md +21 -0
- package/skills/ti-ui/references/orientation.md +20 -0
- package/skills/ti-ui/references/platform-ui-android.md +20 -0
- package/skills/ti-ui/references/platform-ui-ios.md +17 -0
- package/skills/ti-ui/references/tableviews.md +24 -0
|
@@ -2,6 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
This page lists the commands available in PurgeTSS. For release-by-release feature additions and behavior changes, see [Version History](./version-history.md).
|
|
4
4
|
|
|
5
|
+
<!-- TOC-START -->
|
|
6
|
+
## Contents
|
|
7
|
+
|
|
8
|
+
- [Setup Commands](#setup-commands)
|
|
9
|
+
- [Development Commands](#development-commands)
|
|
10
|
+
- [Asset Commands](#asset-commands)
|
|
11
|
+
- [Utility Commands](#utility-commands)
|
|
12
|
+
- [Maintenance Commands](#maintenance-commands)
|
|
13
|
+
- [`init` Command](#init-command)
|
|
14
|
+
- [`create` Command](#create-command)
|
|
15
|
+
- [`brand` Command](#brand-command)
|
|
16
|
+
- [`images` Command](#images-command)
|
|
17
|
+
- [`semantic` Command](#semantic-command)
|
|
18
|
+
- [`install-dependencies` Command](#install-dependencies-command)
|
|
19
|
+
- [`icon-library` Command](#icon-library-command)
|
|
20
|
+
- [`build-fonts` Command](#build-fonts-command)
|
|
21
|
+
- [`shades` Command](#shades-command)
|
|
22
|
+
- [`color-module` Command](#color-module-command)
|
|
23
|
+
- [`build` Command](#build-command)
|
|
24
|
+
- [`watch` Command](#watch-command)
|
|
25
|
+
- [`module` Command](#module-command)
|
|
26
|
+
- [`update` Command](#update-command)
|
|
27
|
+
- [`sudo-update` Command](#sudo-update-command)
|
|
28
|
+
- [Community-Discovered Patterns](#community-discovered-patterns)
|
|
29
|
+
|
|
30
|
+
<!-- TOC-END -->
|
|
31
|
+
|
|
5
32
|
## Setup Commands
|
|
6
33
|
|
|
7
34
|
- `init`: Initializes PurgeTSS on an existing Alloy project.
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# PurgeTSS Configuration Deep Dive
|
|
2
2
|
|
|
3
|
+
<!-- TOC-START -->
|
|
4
|
+
## Contents
|
|
5
|
+
|
|
6
|
+
- [The `config` File](#the-config-file)
|
|
7
|
+
- [Create the `config.cjs` File](#create-the-configcjs-file)
|
|
8
|
+
- [Structure](#structure)
|
|
9
|
+
- [Overriding and Extending Properties](#overriding-and-extending-properties)
|
|
10
|
+
- [Customize Colors](#customize-colors)
|
|
11
|
+
- [Customize Spacing](#customize-spacing)
|
|
12
|
+
- [Community-Discovered Patterns](#community-discovered-patterns)
|
|
13
|
+
- [List of Customizable Properties](#list-of-customizable-properties)
|
|
14
|
+
- [Custom Rules and Ti Elements](#custom-rules-and-ti-elements)
|
|
15
|
+
|
|
16
|
+
<!-- TOC-END -->
|
|
17
|
+
|
|
3
18
|
## The `config` File
|
|
4
19
|
|
|
5
20
|
> **ℹ️ INFO**
|
|
@@ -6,6 +6,22 @@
|
|
|
6
6
|
>
|
|
7
7
|
> For general Alloy controller and view patterns, refer to the `alloy-guides` and `alloy-howtos` skills.
|
|
8
8
|
|
|
9
|
+
<!-- TOC-START -->
|
|
10
|
+
## Contents
|
|
11
|
+
|
|
12
|
+
- [Community-Discovered Patterns](#community-discovered-patterns)
|
|
13
|
+
- [Overview](#overview)
|
|
14
|
+
- [Method 1: `$.UI.create()` (Recommended)](#method-1-uicreate-recommended)
|
|
15
|
+
- [Method 2: `Alloy.createStyle()` + `applyProperties()`](#method-2-alloycreatestyle-applyproperties)
|
|
16
|
+
- [Comparison: Which Method to Use?](#comparison-which-method-to-use)
|
|
17
|
+
- [Real-World Examples](#real-world-examples)
|
|
18
|
+
- [Important Notes](#important-notes)
|
|
19
|
+
- [Dynamic Styling with `classes` Property](#dynamic-styling-with-classes-property)
|
|
20
|
+
- [Anti-Patterns to Avoid](#anti-patterns-to-avoid)
|
|
21
|
+
- [Summary](#summary)
|
|
22
|
+
|
|
23
|
+
<!-- TOC-END -->
|
|
24
|
+
|
|
9
25
|
## Community-Discovered Patterns
|
|
10
26
|
|
|
11
27
|
The guidance in this file reflects patterns that PurgeTSS users have converged on when building components imperatively from Alloy controllers. It complements — but is not a substitute for — official Alloy documentation.
|
|
@@ -6,6 +6,26 @@ Changelog source of truth: [https://github.com/macCesar/purgeTSS](https://github
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
+
<!-- TOC-START -->
|
|
10
|
+
## Contents
|
|
11
|
+
|
|
12
|
+
- [Upgrade to v7.11.x](#upgrade-to-v711x)
|
|
13
|
+
- [Upgrade to v7.10.x](#upgrade-to-v710x)
|
|
14
|
+
- [Upgrade to v7.9.0](#upgrade-to-v790)
|
|
15
|
+
- [Upgrade to v7.8.0](#upgrade-to-v780)
|
|
16
|
+
- [Upgrade to v7.7.0](#upgrade-to-v770)
|
|
17
|
+
- [Upgrade to v7.6.0](#upgrade-to-v760)
|
|
18
|
+
- [Upgrade to v7.5.3](#upgrade-to-v753)
|
|
19
|
+
- [Upgrade to v7.5.0](#upgrade-to-v750)
|
|
20
|
+
- [Upgrade to v7.4.0](#upgrade-to-v740)
|
|
21
|
+
- [Upgrade to v7.3.x](#upgrade-to-v73x)
|
|
22
|
+
- [Upgrade to v7.2.7](#upgrade-to-v727)
|
|
23
|
+
- [Upgrade to v7.2.6](#upgrade-to-v726)
|
|
24
|
+
- [Community-Discovered Patterns](#community-discovered-patterns)
|
|
25
|
+
- [Quick Checklist](#quick-checklist)
|
|
26
|
+
|
|
27
|
+
<!-- TOC-END -->
|
|
28
|
+
|
|
9
29
|
## Upgrade to v7.11.x
|
|
10
30
|
|
|
11
31
|
v7.11.0 and v7.11.1 are additive — **no breaking changes**. The headline addition is a compile-time SVG image pipeline that runs automatically as a post-step of `purgetss`, plus a `config.cjs` syntax validator. Nothing new is required on upgrade; the new surface is opt-in. Full release notes in [`version-history.md`](./version-history.md).
|
|
@@ -12,6 +12,33 @@ For the terse flag reference, see the [`images` command reference](./cli-command
|
|
|
12
12
|
> The `images` command at a glance
|
|
13
13
|
> One source per image in `purgetss/images/`, run `purgetss images`, and every density lands in the right place under `app/assets/android/images/res-*/` and `app/assets/iphone/images/`. Works on both Alloy and Classic projects.
|
|
14
14
|
|
|
15
|
+
<!-- TOC-START -->
|
|
16
|
+
## Contents
|
|
17
|
+
|
|
18
|
+
- [Why multi-density?](#why-multi-density)
|
|
19
|
+
- [Quick start](#quick-start)
|
|
20
|
+
- [The `purgetss/images/` convention](#the-purgetssimages-convention)
|
|
21
|
+
- [Source sizes — the 4× master convention](#source-sizes-the-4-master-convention)
|
|
22
|
+
- [Pinning the output width with `--width`](#pinning-the-output-width-with---width)
|
|
23
|
+
- [The `images:` config section](#the-images-config-section)
|
|
24
|
+
- [Per-file overrides with `images.files`](#per-file-overrides-with-imagesfiles)
|
|
25
|
+
- [Output layouts](#output-layouts)
|
|
26
|
+
- [Overwrite confirmation](#overwrite-confirmation)
|
|
27
|
+
- [Re-processing a single file or subfolder](#re-processing-a-single-file-or-subfolder)
|
|
28
|
+
- [Platform filter](#platform-filter)
|
|
29
|
+
- [Format conversion](#format-conversion)
|
|
30
|
+
- [Reducing alpha across every density with `--opacity` (v7.10.0)](#reducing-alpha-across-every-density-with---opacity-v7100)
|
|
31
|
+
- [Adding breathing room with `--padding` (v7.10.0)](#adding-breathing-room-with---padding-v7100)
|
|
32
|
+
- [Renaming the output with `--output` (v7.10.0)](#renaming-the-output-with---output-v7100)
|
|
33
|
+
- [Full pipeline alongside `build`](#full-pipeline-alongside-build)
|
|
34
|
+
- [Cleaning up](#cleaning-up)
|
|
35
|
+
- [Full flag reference](#full-flag-reference)
|
|
36
|
+
- [Troubleshooting](#troubleshooting)
|
|
37
|
+
- [Community-Discovered Patterns](#community-discovered-patterns)
|
|
38
|
+
- [See also](#see-also)
|
|
39
|
+
|
|
40
|
+
<!-- TOC-END -->
|
|
41
|
+
|
|
15
42
|
## Why multi-density?
|
|
16
43
|
|
|
17
44
|
Android's UI toolkit resolves images by **density**: a Pixel 7 (xxhdpi ≈ 3×) picks files from `res-xxhdpi/`, a low-end Moto (hdpi ≈ 1.5×) picks from `res-hdpi/`. If the right density isn't available, Android upscales the closest one, which looks noticeably blurry on high-DPI screens.
|
|
@@ -10,6 +10,21 @@ For the mode-switching runtime that drives all of this (`Appearance.init()`, `Ap
|
|
|
10
10
|
>
|
|
11
11
|
> Semantic color resolution is a **Titanium** feature, not PurgeTSS magic. Titanium natively reads `semantic.colors.json` (at `app/assets/` on Alloy, `Resources/` on Classic) and resolves any color-accepting property whose value matches a key in that file. PurgeTSS only generates the utility classes that point *at* those keys — the switching behavior is 100% native.
|
|
12
12
|
|
|
13
|
+
<!-- TOC-START -->
|
|
14
|
+
## Contents
|
|
15
|
+
|
|
16
|
+
- [Setting up `semantic.colors.json`](#setting-up-semanticcolorsjson)
|
|
17
|
+
- [Registering in `config.cjs`](#registering-in-configcjs)
|
|
18
|
+
- [Numeric 11-step tonal-inversion palette](#numeric-11-step-tonal-inversion-palette)
|
|
19
|
+
- [The `semantic` CLI command](#the-semantic-cli-command)
|
|
20
|
+
- [Using semantic classes in views](#using-semantic-classes-in-views)
|
|
21
|
+
- [Using semantic colors in controllers](#using-semantic-colors-in-controllers)
|
|
22
|
+
- [Recommended starter palette](#recommended-starter-palette)
|
|
23
|
+
- [Related](#related)
|
|
24
|
+
- [Community-Discovered Patterns](#community-discovered-patterns)
|
|
25
|
+
|
|
26
|
+
<!-- TOC-END -->
|
|
27
|
+
|
|
13
28
|
## Setting up `semantic.colors.json`
|
|
14
29
|
|
|
15
30
|
Create the `semantic.colors.json` file with your color definitions. The file location depends on your project type, per the TiDev convention:
|
|
@@ -13,6 +13,23 @@ TiKit is meant to help you move faster without fighting styling details.
|
|
|
13
13
|
- Customizable colors and styles via `classes` property.
|
|
14
14
|
- You only pass what you need.
|
|
15
15
|
|
|
16
|
+
<!-- TOC-START -->
|
|
17
|
+
## Contents
|
|
18
|
+
|
|
19
|
+
- [Getting Started](#getting-started)
|
|
20
|
+
- [Setting Up Your Project](#setting-up-your-project)
|
|
21
|
+
- [Component Default Values](#component-default-values)
|
|
22
|
+
- [Alerts](#alerts)
|
|
23
|
+
- [Avatars](#avatars)
|
|
24
|
+
- [Buttons](#buttons)
|
|
25
|
+
- [Cards](#cards)
|
|
26
|
+
- [Tabs](#tabs)
|
|
27
|
+
- [Updating Components Dynamically](#updating-components-dynamically)
|
|
28
|
+
- [Working with Icon Fonts](#working-with-icon-fonts)
|
|
29
|
+
- [License](#license)
|
|
30
|
+
|
|
31
|
+
<!-- TOC-END -->
|
|
32
|
+
|
|
16
33
|
## Getting Started
|
|
17
34
|
|
|
18
35
|
First, install the TiKit CLI:
|
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
PurgeTSS automatically resets certain Titanium elements to facilitate UI layout. Understanding these resets is critical for effective PurgeTSS usage.
|
|
4
4
|
|
|
5
|
+
<!-- TOC-START -->
|
|
6
|
+
## Contents
|
|
7
|
+
|
|
8
|
+
- [The Three Default Resets](#the-three-default-resets)
|
|
9
|
+
- [View Reset: `Ti.UI.SIZE`](#view-reset-tiuisize)
|
|
10
|
+
- [ImageView Reset: iOS Hi-Res](#imageview-reset-ios-hi-res)
|
|
11
|
+
- [Window Reset: White Background](#window-reset-white-background)
|
|
12
|
+
- [Width/Height Inheritance](#widthheight-inheritance)
|
|
13
|
+
- [Common Pitfalls](#common-pitfalls)
|
|
14
|
+
- [Reset Behavior in Generated app.tss](#reset-behavior-in-generated-apptss)
|
|
15
|
+
- [Default font family classes (v7.5.3+)](#default-font-family-classes-v753)
|
|
16
|
+
- [Overriding Resets](#overriding-resets)
|
|
17
|
+
- [Summary Table](#summary-table)
|
|
18
|
+
|
|
19
|
+
<!-- TOC-END -->
|
|
20
|
+
|
|
5
21
|
## The Three Default Resets
|
|
6
22
|
|
|
7
23
|
```tss
|
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
This guide collects practical UI patterns that stay aligned with Titanium layout behavior and verified PurgeTSS conventions.
|
|
4
4
|
|
|
5
|
+
<!-- TOC-START -->
|
|
6
|
+
## Contents
|
|
7
|
+
|
|
8
|
+
- [Core Rules](#core-rules)
|
|
9
|
+
- [Related References](#related-references)
|
|
10
|
+
- [Community-Discovered Patterns](#community-discovered-patterns)
|
|
11
|
+
- [Cards](#cards)
|
|
12
|
+
- [Lists](#lists)
|
|
13
|
+
- [Forms](#forms)
|
|
14
|
+
- [Buttons](#buttons)
|
|
15
|
+
- [Navigation Patterns](#navigation-patterns)
|
|
16
|
+
- [Modals, Sheets, and Feedback](#modals-sheets-and-feedback)
|
|
17
|
+
- [Layout Patterns](#layout-patterns)
|
|
18
|
+
- [Typography and Icons](#typography-and-icons)
|
|
19
|
+
- [Accessibility](#accessibility)
|
|
20
|
+
- [Performance Notes](#performance-notes)
|
|
21
|
+
- [Quick Reference](#quick-reference)
|
|
22
|
+
|
|
23
|
+
<!-- TOC-END -->
|
|
24
|
+
|
|
5
25
|
## Core Rules
|
|
6
26
|
|
|
7
27
|
- PurgeTSS is not Tailwind CSS. Verify classes before recommending them.
|
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Ti.Android API Reference
|
|
2
2
|
|
|
3
|
+
<!-- TOC-START -->
|
|
4
|
+
## Contents
|
|
5
|
+
|
|
6
|
+
- [Ti.Android](#tiandroid)
|
|
7
|
+
- [Ti.Android.ActionBar](#tiandroidactionbar)
|
|
8
|
+
- [Ti.Android.Activity](#tiandroidactivity)
|
|
9
|
+
- [Ti.Android.BigPictureStyle](#tiandroidbigpicturestyle)
|
|
10
|
+
- [Ti.Android.BigTextStyle](#tiandroidbigtextstyle)
|
|
11
|
+
- [Ti.Android.BroadcastReceiver](#tiandroidbroadcastreceiver)
|
|
12
|
+
- [Ti.Android.Intent](#tiandroidintent)
|
|
13
|
+
- [Ti.Android.Menu](#tiandroidmenu)
|
|
14
|
+
- [Ti.Android.MenuItem](#tiandroidmenuitem)
|
|
15
|
+
- [Ti.Android.Notification](#tiandroidnotification)
|
|
16
|
+
- [Ti.Android.NotificationChannel](#tiandroidnotificationchannel)
|
|
17
|
+
- [Ti.Android.NotificationManager](#tiandroidnotificationmanager)
|
|
18
|
+
- [Ti.Android.PendingIntent](#tiandroidpendingintent)
|
|
19
|
+
- [Ti.Android.QuickSettingsService](#tiandroidquicksettingsservice)
|
|
20
|
+
- [Ti.Android.R](#tiandroidr)
|
|
21
|
+
- [Ti.Android.RemoteViews](#tiandroidremoteviews)
|
|
22
|
+
- [Ti.Android.Service](#tiandroidservice)
|
|
23
|
+
|
|
24
|
+
<!-- TOC-END -->
|
|
25
|
+
|
|
3
26
|
## Ti.Android
|
|
4
27
|
> The top-level Android module.
|
|
5
28
|
> Extends Ti.Module
|
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Ti.App & Ti.Platform API Reference
|
|
2
2
|
|
|
3
|
+
<!-- TOC-START -->
|
|
4
|
+
## Contents
|
|
5
|
+
|
|
6
|
+
- [Ti.App](#tiapp)
|
|
7
|
+
- [Ti.App.Android](#tiappandroid)
|
|
8
|
+
- [Ti.App.Properties](#tiappproperties)
|
|
9
|
+
- [Ti.App.iOS](#tiappios)
|
|
10
|
+
- [Ti.App.iOS.BackgroundService](#tiappiosbackgroundservice)
|
|
11
|
+
- [Ti.App.iOS.LocalNotification](#tiappioslocalnotification)
|
|
12
|
+
- [Ti.App.iOS.SearchQuery](#tiappiossearchquery)
|
|
13
|
+
- [Ti.App.iOS.SearchableIndex](#tiappiossearchableindex)
|
|
14
|
+
- [Ti.App.iOS.SearchableItem](#tiappiossearchableitem)
|
|
15
|
+
- [Ti.App.iOS.SearchableItemAttributeSet](#tiappiossearchableitemattributeset)
|
|
16
|
+
- [Ti.App.iOS.UserActivity](#tiappiosuseractivity)
|
|
17
|
+
- [Ti.App.iOS.UserDefaults](#tiappiosuserdefaults)
|
|
18
|
+
- [Ti.App.iOS.UserNotificationAction](#tiappiosusernotificationaction)
|
|
19
|
+
- [Ti.App.iOS.UserNotificationCategory](#tiappiosusernotificationcategory)
|
|
20
|
+
- [Ti.App.iOS.UserNotificationCenter](#tiappiosusernotificationcenter)
|
|
21
|
+
- [Ti.Platform](#tiplatform)
|
|
22
|
+
- [Ti.Platform.Android](#tiplatformandroid)
|
|
23
|
+
- [Ti.Platform.DisplayCaps](#tiplatformdisplaycaps)
|
|
24
|
+
|
|
25
|
+
<!-- TOC-END -->
|
|
26
|
+
|
|
3
27
|
## Ti.App
|
|
4
28
|
> The top-level App module is mainly used for accessing information about the application at runtime, and for sending or listening for system events.
|
|
5
29
|
> Extends Ti.Module
|
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Ti Core API Reference
|
|
2
2
|
|
|
3
|
+
<!-- TOC-START -->
|
|
4
|
+
## Contents
|
|
5
|
+
|
|
6
|
+
- [Titanium](#titanium)
|
|
7
|
+
- [Ti.UI](#tiui)
|
|
8
|
+
- [Ti.API](#tiapi)
|
|
9
|
+
- [Ti.Accelerometer](#tiaccelerometer)
|
|
10
|
+
- [Ti.Blob](#tiblob)
|
|
11
|
+
- [Ti.BlobStream](#tiblobstream)
|
|
12
|
+
- [Ti.Buffer](#tibuffer)
|
|
13
|
+
- [Ti.BufferStream](#tibufferstream)
|
|
14
|
+
- [Ti.Codec](#ticodec)
|
|
15
|
+
- [Ti.Gesture](#tigesture)
|
|
16
|
+
- [Ti.IOStream](#tiiostream)
|
|
17
|
+
- [Ti.Locale](#tilocale)
|
|
18
|
+
- [Ti.Stream](#tistream)
|
|
19
|
+
- [Ti.Utils](#tiutils)
|
|
20
|
+
- [Ti.Proxy](#tiproxy)
|
|
21
|
+
- [Ti.Module](#timodule)
|
|
22
|
+
|
|
23
|
+
<!-- TOC-END -->
|
|
24
|
+
|
|
3
25
|
## Titanium
|
|
4
26
|
> The top-level Titanium module.
|
|
5
27
|
> Extends Ti.Module
|
|
@@ -20,6 +42,7 @@ For example, the following pairs of Titanium calls behave exactly the same.
|
|
|
20
42
|
``` js
|
|
21
43
|
Titanium.API.info('Hello Titanium!');
|
|
22
44
|
Ti.API.info('Hello Titanium!');
|
|
45
|
+
```
|
|
23
46
|
|
|
24
47
|
|
|
25
48
|
*(See full overview in titanium-docs)*
|
|
@@ -497,6 +520,7 @@ If we represent a buffer as an array of byte values, a big-endian encoding of
|
|
|
497
520
|
|
|
498
521
|
``` js
|
|
499
522
|
[ 0xFE, 0xDC, 0xBA, 0x98 ]
|
|
523
|
+
```
|
|
500
524
|
|
|
501
525
|
*(See full overview in titanium-docs)*
|
|
502
526
|
|
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Ti.Network, Ti.Database & Ti.Filesystem API Reference
|
|
2
2
|
|
|
3
|
+
<!-- TOC-START -->
|
|
4
|
+
## Contents
|
|
5
|
+
|
|
6
|
+
- [Ti.Database](#tidatabase)
|
|
7
|
+
- [Ti.Database.DB](#tidatabasedb)
|
|
8
|
+
- [Ti.Database.ResultSet](#tidatabaseresultset)
|
|
9
|
+
- [Ti.Filesystem](#tifilesystem)
|
|
10
|
+
- [Ti.Filesystem.File](#tifilesystemfile)
|
|
11
|
+
- [Ti.Filesystem.FileStream](#tifilesystemfilestream)
|
|
12
|
+
- [Ti.Network](#tinetwork)
|
|
13
|
+
- [Ti.Network.BonjourBrowser](#tinetworkbonjourbrowser)
|
|
14
|
+
- [Ti.Network.BonjourService](#tinetworkbonjourservice)
|
|
15
|
+
- [Ti.Network.Cookie](#tinetworkcookie)
|
|
16
|
+
- [Ti.Network.HTTPClient](#tinetworkhttpclient)
|
|
17
|
+
- [Ti.Network.Socket](#tinetworksocket)
|
|
18
|
+
- [Ti.Network.Socket.TCP](#tinetworksockettcp)
|
|
19
|
+
- [Ti.Network.TCPSocket](#tinetworktcpsocket)
|
|
20
|
+
|
|
21
|
+
<!-- TOC-END -->
|
|
22
|
+
|
|
3
23
|
## Ti.Database
|
|
4
24
|
> The top-level `Database` module, used for creating and accessing the in-application SQLite database.
|
|
5
25
|
> Extends Ti.Module
|
|
@@ -416,6 +436,7 @@ if (!Date.prototype.toISOString) {
|
|
|
416
436
|
}
|
|
417
437
|
|
|
418
438
|
Date.prototype.toISOString = function() {
|
|
439
|
+
```
|
|
419
440
|
|
|
420
441
|
*(See full overview in titanium-docs)*
|
|
421
442
|
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Ti.Media API Reference
|
|
2
2
|
|
|
3
|
+
<!-- TOC-START -->
|
|
4
|
+
## Contents
|
|
5
|
+
|
|
6
|
+
- [Ti.Media](#timedia)
|
|
7
|
+
- [Ti.Media.Android](#timediaandroid)
|
|
8
|
+
- [Ti.Media.AudioPlayer](#timediaaudioplayer)
|
|
9
|
+
- [Ti.Media.AudioRecorder](#timediaaudiorecorder)
|
|
10
|
+
- [Ti.Media.Item](#timediaitem)
|
|
11
|
+
- [Ti.Media.MusicPlayer](#timediamusicplayer)
|
|
12
|
+
- [Ti.Media.Sound](#timediasound)
|
|
13
|
+
- [Ti.Media.SystemAlert](#timediasystemalert)
|
|
14
|
+
- [Ti.Media.VideoPlayer](#timediavideoplayer)
|
|
15
|
+
|
|
16
|
+
<!-- TOC-END -->
|
|
17
|
+
|
|
3
18
|
## Ti.Media
|
|
4
19
|
> The top-level Media module.
|
|
5
20
|
> Extends Ti.Module
|
|
@@ -336,7 +351,6 @@ request audio-permissions.
|
|
|
336
351
|
**Android Platform Note**: On Android, you also need to include the following permission
|
|
337
352
|
into the `<android>` section of the tiapp.xml:
|
|
338
353
|
|
|
339
|
-
``` xml
|
|
340
354
|
|
|
341
355
|
### Properties (unique: 5/8)
|
|
342
356
|
| Property | Type | Default | Platform | Description |
|
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Modules: BLE & Bluetooth API Reference
|
|
2
2
|
|
|
3
|
+
<!-- TOC-START -->
|
|
4
|
+
## Contents
|
|
5
|
+
|
|
6
|
+
- [Modules.BLE](#modulesble)
|
|
7
|
+
- [Modules.BLE.Beacon](#modulesblebeacon)
|
|
8
|
+
- [Modules.BLE.BeaconIdentityConstraint](#modulesblebeaconidentityconstraint)
|
|
9
|
+
- [Modules.BLE.BeaconRegion](#modulesblebeaconregion)
|
|
10
|
+
- [Modules.BLE.Central](#modulesblecentral)
|
|
11
|
+
- [Modules.BLE.CentralManager](#modulesblecentralmanager)
|
|
12
|
+
- [Modules.BLE.Characteristic](#modulesblecharacteristic)
|
|
13
|
+
- [Modules.BLE.DescriptorRequest](#modulesbledescriptorrequest)
|
|
14
|
+
- [Modules.BLE.L2CAPChannel](#modulesblel2capchannel)
|
|
15
|
+
- [Modules.BLE.MutableCharacteristic](#modulesblemutablecharacteristic)
|
|
16
|
+
- [Modules.BLE.Peer](#modulesblepeer)
|
|
17
|
+
- [Modules.BLE.Peripheral](#modulesbleperipheral)
|
|
18
|
+
- [Modules.BLE.PeripheralManager](#modulesbleperipheralmanager)
|
|
19
|
+
- [Modules.BLE.RegionManager](#modulesbleregionmanager)
|
|
20
|
+
- [Modules.BLE.Request](#modulesblerequest)
|
|
21
|
+
- [Modules.BLE.Service](#modulesbleservice)
|
|
22
|
+
- [Modules.Bluetooth](#modulesbluetooth)
|
|
23
|
+
- [Modules.Bluetooth.BluetoothDevice](#modulesbluetoothbluetoothdevice)
|
|
24
|
+
- [Modules.Bluetooth.BluetoothServerSocket](#modulesbluetoothbluetoothserversocket)
|
|
25
|
+
- [Modules.Bluetooth.BluetoothSocket](#modulesbluetoothbluetoothsocket)
|
|
26
|
+
|
|
27
|
+
<!-- TOC-END -->
|
|
28
|
+
|
|
3
29
|
## Modules.BLE
|
|
4
30
|
> Add-on Bluetooth Low Energy module
|
|
5
31
|
> Extends Ti.Module
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Modules: CoreMotion & URLSession API Reference
|
|
2
2
|
|
|
3
|
+
<!-- TOC-START -->
|
|
4
|
+
## Contents
|
|
5
|
+
|
|
6
|
+
- [Modules.CoreMotion](#modulescoremotion)
|
|
7
|
+
- [Modules.CoreMotion.Accelerometer](#modulescoremotionaccelerometer)
|
|
8
|
+
- [Modules.CoreMotion.Altimeter](#modulescoremotionaltimeter)
|
|
9
|
+
- [Modules.CoreMotion.DeviceMotion](#modulescoremotiondevicemotion)
|
|
10
|
+
- [Modules.CoreMotion.Gyroscope](#modulescoremotiongyroscope)
|
|
11
|
+
- [Modules.CoreMotion.Magnetometer](#modulescoremotionmagnetometer)
|
|
12
|
+
- [Modules.CoreMotion.MotionActivity](#modulescoremotionmotionactivity)
|
|
13
|
+
- [Modules.CoreMotion.Pedometer](#modulescoremotionpedometer)
|
|
14
|
+
- [Modules.CoreMotion.StepCounter](#modulescoremotionstepcounter)
|
|
15
|
+
- [Modules.URLSession](#modulesurlsession)
|
|
16
|
+
- [Modules.URLSession.Session](#modulesurlsessionsession)
|
|
17
|
+
- [Modules.URLSession.SessionConfiguration](#modulesurlsessionsessionconfiguration)
|
|
18
|
+
|
|
19
|
+
<!-- TOC-END -->
|
|
20
|
+
|
|
3
21
|
## Modules.CoreMotion
|
|
4
22
|
> Allows Titanium client applications to access Apple's CoreMotion APIs.
|
|
5
23
|
> Extends Ti.Module
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Modules: Map API Reference
|
|
2
2
|
|
|
3
|
+
<!-- TOC-START -->
|
|
4
|
+
## Contents
|
|
5
|
+
|
|
6
|
+
- [Modules.Map](#modulesmap)
|
|
7
|
+
- [Modules.Map.Annotation](#modulesmapannotation)
|
|
8
|
+
- [Modules.Map.Camera](#modulesmapcamera)
|
|
9
|
+
- [Modules.Map.Circle](#modulesmapcircle)
|
|
10
|
+
- [Modules.Map.ImageOverlay](#modulesmapimageoverlay)
|
|
11
|
+
- [Modules.Map.Polygon](#modulesmappolygon)
|
|
12
|
+
- [Modules.Map.Polyline](#modulesmappolyline)
|
|
13
|
+
- [Modules.Map.Route](#modulesmaproute)
|
|
14
|
+
- [Modules.Map.Snapshotter](#modulesmapsnapshotter)
|
|
15
|
+
- [Examples](#examples)
|
|
16
|
+
- [Modules.Map.StreetViewPanorama](#modulesmapstreetviewpanorama)
|
|
17
|
+
- [Modules.Map.View](#modulesmapview)
|
|
18
|
+
|
|
19
|
+
<!-- TOC-END -->
|
|
20
|
+
|
|
3
21
|
## Modules.Map
|
|
4
22
|
> Add-on Map module
|
|
5
23
|
> Extends Ti.Module
|
|
@@ -21,6 +39,7 @@
|
|
|
21
39
|
<modules>
|
|
22
40
|
<!-- Add this line to your modules section -->
|
|
23
41
|
<module platform="android">ti.map</module>
|
|
42
|
+
```
|
|
24
43
|
|
|
25
44
|
*(See full overview in titanium-docs)*
|
|
26
45
|
|
|
@@ -183,7 +202,6 @@ If `altitude`, `eyeCoordinate`, and `centerCoordinate` are passed in on creation
|
|
|
183
202
|
returned using the specified viewing angle information.
|
|
184
203
|
|
|
185
204
|
### Example:
|
|
186
|
-
``` javascript
|
|
187
205
|
|
|
188
206
|
*(See full overview in titanium-docs)*
|
|
189
207
|
|
|
@@ -344,6 +362,7 @@ const polyline = Map.createPolyline({
|
|
|
344
362
|
},
|
|
345
363
|
[-33.87365, 151.20689]
|
|
346
364
|
],
|
|
365
|
+
```
|
|
347
366
|
|
|
348
367
|
*(See full overview in titanium-docs)*
|
|
349
368
|
|
|
@@ -414,6 +433,7 @@ const win = Ti.UI.createWindow({
|
|
|
414
433
|
|
|
415
434
|
const Snapshotter = MapModule.createSnapshotter({
|
|
416
435
|
mapType: MapModule.HYBRID_TYPE,
|
|
436
|
+
```
|
|
417
437
|
|
|
418
438
|
*(See full overview in titanium-docs)*
|
|
419
439
|
|
|
@@ -506,7 +526,6 @@ Use the <Modules.Map.createView> method to create a map view.
|
|
|
506
526
|
In Alloy, use the **`<Module>`** element with the `module` attribute set to `ti.map`
|
|
507
527
|
and `method` attribute set to `createView` to create a map view in XML markup:
|
|
508
528
|
|
|
509
|
-
``` xml
|
|
510
529
|
|
|
511
530
|
### Properties (unique: 29/101)
|
|
512
531
|
| Property | Type | Default | Platform | Description |
|
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# Modules: NFC API Reference
|
|
2
2
|
|
|
3
|
+
<!-- TOC-START -->
|
|
4
|
+
## Contents
|
|
5
|
+
|
|
6
|
+
- [Modules.Nfc](#modulesnfc)
|
|
7
|
+
- [Modules.Nfc.MifareTagTechnology](#modulesnfcmifaretagtechnology)
|
|
8
|
+
- [Modules.Nfc.NativeTagTechnology](#modulesnfcnativetagtechnology)
|
|
9
|
+
- [Modules.Nfc.NdefMessage](#modulesnfcndefmessage)
|
|
10
|
+
- [Modules.Nfc.NdefRecord](#modulesnfcndefrecord)
|
|
11
|
+
- [Modules.Nfc.NdefRecordApplication](#modulesnfcndefrecordapplication)
|
|
12
|
+
- [Modules.Nfc.NdefRecordEmpty](#modulesnfcndefrecordempty)
|
|
13
|
+
- [Modules.Nfc.NdefRecordExternal](#modulesnfcndefrecordexternal)
|
|
14
|
+
- [Modules.Nfc.NdefRecordMedia](#modulesnfcndefrecordmedia)
|
|
15
|
+
- [Modules.Nfc.NdefRecordSmartPoster](#modulesnfcndefrecordsmartposter)
|
|
16
|
+
- [Modules.Nfc.NdefRecordText](#modulesnfcndefrecordtext)
|
|
17
|
+
- [Modules.Nfc.NdefRecordUnknown](#modulesnfcndefrecordunknown)
|
|
18
|
+
- [Modules.Nfc.NdefRecordUri](#modulesnfcndefrecorduri)
|
|
19
|
+
- [Modules.Nfc.NfcAdapter](#modulesnfcnfcadapter)
|
|
20
|
+
- [Modules.Nfc.NfcForegroundDispatchFilter](#modulesnfcnfcforegrounddispatchfilter)
|
|
21
|
+
- [Modules.Nfc.NfcNDEFTag](#modulesnfcnfcndeftag)
|
|
22
|
+
- [Modules.Nfc.NfcNDEFTagTechnology](#modulesnfcnfcndeftagtechnology)
|
|
23
|
+
- [Modules.Nfc.NfcTag](#modulesnfcnfctag)
|
|
24
|
+
- [Modules.Nfc.TagTechnology](#modulesnfctagtechnology)
|
|
25
|
+
- [Modules.Nfc.TagTechnologyIsoDep](#modulesnfctagtechnologyisodep)
|
|
26
|
+
- [Modules.Nfc.TagTechnologyMifareClassic](#modulesnfctagtechnologymifareclassic)
|
|
27
|
+
- [Modules.Nfc.TagTechnologyMifareUltralight](#modulesnfctagtechnologymifareultralight)
|
|
28
|
+
- [Modules.Nfc.TagTechnologyNdef](#modulesnfctagtechnologyndef)
|
|
29
|
+
- [Modules.Nfc.TagTechnologyNdefFormatable](#modulesnfctagtechnologyndefformatable)
|
|
30
|
+
- [Modules.Nfc.TagTechnologyNfcA](#modulesnfctagtechnologynfca)
|
|
31
|
+
- [Modules.Nfc.TagTechnologyNfcB](#modulesnfctagtechnologynfcb)
|
|
32
|
+
- [Modules.Nfc.TagTechnologyNfcF](#modulesnfctagtechnologynfcf)
|
|
33
|
+
- [Modules.Nfc.TagTechnologyNfcV](#modulesnfctagtechnologynfcv)
|
|
34
|
+
|
|
35
|
+
<!-- TOC-END -->
|
|
36
|
+
|
|
3
37
|
## Modules.Nfc
|
|
4
38
|
> A cross-platform Near-Field-Communication (NFC) module for iOS and Android. Download the latest release via [Github](https://github.com/appcelerator-modules/ti.nfc/releases).
|
|
5
39
|
> Extends Ti.Module
|
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Modules: Facebook, Identity, Crypto & More API Reference
|
|
2
2
|
|
|
3
|
+
<!-- TOC-START -->
|
|
4
|
+
## Contents
|
|
5
|
+
|
|
6
|
+
- [Modules.Applesignin](#modulesapplesignin)
|
|
7
|
+
- [Modules.Applesignin.LoginButton](#modulesapplesigninloginbutton)
|
|
8
|
+
- [Modules.Barcode](#modulesbarcode)
|
|
9
|
+
- [Modules.Crypto](#modulescrypto)
|
|
10
|
+
- [Modules.Crypto.Cryptor](#modulescryptocryptor)
|
|
11
|
+
- [Modules.EncryptedDatabase](#modulesencrypteddatabase)
|
|
12
|
+
- [Modules.Facebook](#modulesfacebook)
|
|
13
|
+
- [Modules.Facebook.LoginButton](#modulesfacebookloginbutton)
|
|
14
|
+
- [Modules.Geofence](#modulesgeofence)
|
|
15
|
+
- [Modules.Geofence.Region](#modulesgeofenceregion)
|
|
16
|
+
- [Modules.Https](#moduleshttps)
|
|
17
|
+
- [Modules.Identity](#modulesidentity)
|
|
18
|
+
- [Modules.Identity.KeychainItem](#modulesidentitykeychainitem)
|
|
19
|
+
- [Modules.PlayServices](#modulesplayservices)
|
|
20
|
+
- [Modules.WebDialog](#moduleswebdialog)
|
|
21
|
+
- [Modules.WebDialog.AuthenticationSession](#moduleswebdialogauthenticationsession)
|
|
22
|
+
|
|
23
|
+
<!-- TOC-END -->
|
|
24
|
+
|
|
3
25
|
## Modules.Applesignin
|
|
4
26
|
> A module to use apple signin functionality.
|
|
5
27
|
> Extends Ti.Module
|
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Ti.Geolocation, Ti.Contacts, Ti.Calendar & Ti.WatchSession API Reference
|
|
2
2
|
|
|
3
|
+
<!-- TOC-START -->
|
|
4
|
+
## Contents
|
|
5
|
+
|
|
6
|
+
- [Ti.Calendar](#ticalendar)
|
|
7
|
+
- [Ti.Calendar.Alert](#ticalendaralert)
|
|
8
|
+
- [Ti.Calendar.Attendee](#ticalendarattendee)
|
|
9
|
+
- [Ti.Calendar.Calendar](#ticalendarcalendar)
|
|
10
|
+
- [Ti.Calendar.Event](#ticalendarevent)
|
|
11
|
+
- [Ti.Calendar.RecurrenceRule](#ticalendarrecurrencerule)
|
|
12
|
+
- [Ti.Calendar.Reminder](#ticalendarreminder)
|
|
13
|
+
- [Ti.Contacts](#ticontacts)
|
|
14
|
+
- [Ti.Contacts.Group](#ticontactsgroup)
|
|
15
|
+
- [Ti.Contacts.Person](#ticontactsperson)
|
|
16
|
+
- [Ti.Geolocation](#tigeolocation)
|
|
17
|
+
- [Ti.Geolocation.Android](#tigeolocationandroid)
|
|
18
|
+
- [Ti.Geolocation.Android.LocationProvider](#tigeolocationandroidlocationprovider)
|
|
19
|
+
- [Ti.Geolocation.Android.LocationRule](#tigeolocationandroidlocationrule)
|
|
20
|
+
- [Ti.WatchSession](#tiwatchsession)
|
|
21
|
+
|
|
22
|
+
<!-- TOC-END -->
|
|
23
|
+
|
|
3
24
|
## Ti.Calendar
|
|
4
25
|
> The Calendar module provides an API for accessing the native calendar functionality.
|
|
5
26
|
> Extends Ti.Module
|
|
@@ -14,7 +35,6 @@ On Android, calendar permissions must be explicitly configured in `tiapp.xml` in
|
|
|
14
35
|
calendar and you have to use [requestCalendarPermissions](Titanium.Calendar.requestCalendarPermissions)
|
|
15
36
|
to request runtime permissions.
|
|
16
37
|
|
|
17
|
-
``` xml
|
|
18
38
|
|
|
19
39
|
### Properties (unique: 6/72)
|
|
20
40
|
| Property | Type | Default | Platform | Description |
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Ti.UI.Android API Reference
|
|
2
2
|
|
|
3
|
+
<!-- TOC-START -->
|
|
4
|
+
## Contents
|
|
5
|
+
|
|
6
|
+
- [Ti.UI.Android](#tiuiandroid)
|
|
7
|
+
- [Examples](#examples)
|
|
8
|
+
- [Ti.UI.Android.CardView](#tiuiandroidcardview)
|
|
9
|
+
- [Ti.UI.Android.CollapseToolbar](#tiuiandroidcollapsetoolbar)
|
|
10
|
+
- [Ti.UI.Android.DrawerLayout](#tiuiandroiddrawerlayout)
|
|
11
|
+
- [Ti.UI.Android.FloatingActionButton](#tiuiandroidfloatingactionbutton)
|
|
12
|
+
- [Ti.UI.Android.ProgressIndicator](#tiuiandroidprogressindicator)
|
|
13
|
+
- [Ti.UI.Android.SearchView](#tiuiandroidsearchview)
|
|
14
|
+
- [Ti.UI.Android.Snackbar](#tiuiandroidsnackbar)
|
|
15
|
+
- [Ti.UI.iPad.Popover](#tiuiipadpopover)
|
|
16
|
+
- [Ti.UI.iPad](#tiuiipad)
|
|
17
|
+
|
|
18
|
+
<!-- TOC-END -->
|
|
19
|
+
|
|
3
20
|
## Ti.UI.Android
|
|
4
21
|
> The Android-specific UI capabilities. All properties, methods and events in this namespace will only work on Android systems. #### Drawer Layout The drawer-layout components acts as a top-level container for window content that allows for interactive "drawer" views to be pulled out from one or both vertical edges of the window. It is represented by a `centerView` and optional `leftView` and `rightView` components that can be swiped in and out with additional configuration and transitions. Learn more about drawer-layouts in it's dedicated <Titanium.UI.Android.DrawerLayout> docs.
|
|
5
22
|
> Extends Ti.Module
|
|
@@ -21,6 +38,7 @@ button.addEventListener('click', function() {
|
|
|
21
38
|
Ti.API.info('Current value for editText: ' + Ti.App.Properties.getString('editText'));
|
|
22
39
|
Ti.UI.Android.openPreferences();
|
|
23
40
|
});
|
|
41
|
+
```
|
|
24
42
|
|
|
25
43
|
*(See full overview in titanium-docs)*
|
|
26
44
|
|