Constructor
new BehaviorConfig()
Methods
(static) desktop() → {object}
Return the desktop behavior configuration object. This is the same as full() but with selectImage enabled.
Returns:
A JavaScript object with settings for desktop-style usage.
- Type
- object
(static) fromJSON(string) → {object}
Return a behavior configuration object, but defined from a stringified JSON object.
Parameters:
| Name | Type | Description |
|---|---|---|
string |
string | A stringified object, perhaps used as an external definition of a behavior configuration |
Returns:
An object parsed from the JSON in string, should contain data for all properties
- Type
- object
(static) full() → {object}
Return a behavior configuration object with all options enabled.
Returns:
A JavaScript object with all options enabled.
- Type
- object
(static) standard() → {object}
Return a default behavior configuration object.
Returns:
A JavaScript object with all settings.
- Type
- object