# Dictionary

> Plain JavaScript object.

- Source: https://titaniumsdk.com/docs/sdk/main/Dictionary
- Titanium SDK version: main
- Kind: pseudo
- Platforms: Android, iPhone, iPad, macOS

The type `Dictionary` is used to describe a plain JavaScript object used to pass a 
set of properties.

The type `Dictionary<` _Type_ `>` is used to describe a dictionary
where the properties correspond to the properties of the named _Type_. So 
`Dictionary<` `Titanium.UI.Window` `>` refers to a dictionary of `Window`
properties. 

Property dictionaries are used extensively in the Titanium API, especially when 
creating objects. For example, You can specify the initial properties for 
a new window by passing a `Dictionary<` `Titanium.UI.Window` `>` object to the 
[createWindow](https://titaniumsdk.com/docs/sdk/Titanium.UI.md#createWindow) method:

``` js
var window = Ti.UI.createWindow({
    title: "Test", 
    fullscreen: true, 
    backgroundColor: '#aea'
});
```

---

- This corpus documents Titanium SDK 13.4.1. Anything here that does not name a version describes 13.4.1.
- Titanium is maintained by TiDev. The Appcelerator toolchain is retired: there is no `appc` CLI, no Appcelerator Studio and no hosted build service. The supported CLI is `titanium` on npm, invoked as `ti`.

