Namespace: Cocoon

Cocoon

The "Cocoon" object holds all the Cocoon Extensions and other stuff needed for the Cocoon environment.

Classes

Signal

Methods

<static> getPlatform() → {Cocoon.PlatformType}

Returns the platform where the app is running.

Returns:

The platform where the app is running.

Type
Cocoon.PlatformType
Example
var platform = Cocoon.getPlatform();

Members

<static> PlatformType

Defines the platform where the app is running.

Properties:
Name Type Description
ANDROID string

Android.

IOS string

iOS.

AMAZON string

Amazon.

WINDOWS_PHONE string

Windows phone.

BLACKBERRY string

Blackberry.

OTHER string

Other.

<static> version

Properties:
Name Type Description
version string

Current version of the library.

Example
console.log(Cocoon.version);
Atomic Plugins for Cordova - JavaScript Documentation by Ludei, DocStrap Copyright © 2012-2013
The contributors to the JSDoc3 and DocStrap projects.