Class createjs.Config
Defined in: config.js.
Constructor Attributes | Constructor Name and Description |
---|---|
A class that provides methods to customize this library.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
createjs.Config.exports
A table of exported functions.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
createjs.Config.canPlayInline()
Returns whether the host browser can play
|
<static> |
createjs.Config.clearCache()
Deletes all files in the cache.
|
<static> |
createjs.Config.getCacheVersion()
Returns the version number of the loader cache.
|
<static> |
createjs.Config.setCacheVersion(version)
Sets the version number of the loader cache.
|
<static> |
createjs.Config.setUseAndroidWorkarounds(context, value)
Sets whether to use workaround code for Android browsers.
|
<static> |
createjs.Config.useAndroidWorkarounds(context)
Returns whether to use workaround code for Android browsers.
|
<static> |
createjs.Config.useFrame()
Returns whether the createjs.Sound class should use the FrameAudioPlayer
class instead of the BufferAudioPlayer class.
|
Field Detail
<static>
createjs.Config.exports
A table of exported functions.
Method Detail
<static>
{number}
createjs.Config.canPlayInline()
Returns whether the host browser can play
- Returns:
- {number}
<static>
createjs.Config.clearCache()
Deletes all files in the cache.
<static>
{number}
createjs.Config.getCacheVersion()
Returns the version number of the loader cache.
- Returns:
- {number}
<static>
createjs.Config.setCacheVersion(version)
Sets the version number of the loader cache.
- Parameters:
- {number} version
<static>
createjs.Config.setUseAndroidWorkarounds(context, value)
Sets whether to use workaround code for Android browsers.
- Parameters:
- {string} context
- {number} value
<static>
{number}
createjs.Config.useAndroidWorkarounds(context)
Returns whether to use workaround code for Android browsers.
- Parameters:
- {string} context
- Returns:
- {number}
<static>
{boolean}
createjs.Config.useFrame()
Returns whether the createjs.Sound class should use the FrameAudioPlayer
class instead of the BufferAudioPlayer class.
- Returns:
- {boolean}