Collection of methods for retrieving default options.
- Source:
- To Do:
-
- Document defaults objects?
Methods
-
<static> Extend(category, overlay) → {Object}
-
Retrieve defaults for specific category and overwrite properties with those supplied.
Parameters:
Name Type Description category
String Category of options.
overlay
Object Properties to overwrite defaults.
- Source:
Returns:
Extended defaults.
- Type
- Object
-
<static> Get(category, key) → {Mixed}
-
Retrieves default value for a specific category and key.
Parameters:
Name Type Description category
String Category of option.
key
String Key of option.
- Source:
Returns:
Default value of option requested.
- Type
- Mixed
-
<static> GetCategoryOptions(category, key) → {Mixed}
-
Retrieves default value for a specific category and key.
Parameters:
Name Type Description category
String Category of option.
key
String Key of option.
- Source:
Returns:
Default value of option requested.
- Type
- Mixed