CacheMixin


Module hilo/view/CacheMixin Requires hilo/view/Drawable, hilo/util/browser Source CacheMixin.js
CacheMixin A mixin that contains cache method.You can mix cache method to the target by use Class.mix(target, CacheMixin).

Methods

Method Defined
cache(forceUpdate:Boolean)
static Cache the view.
CacheMixin
setCacheDirty(dirty:Boolean)
static set the cache state diry.
CacheMixin
static Update the cache.
CacheMixin

Method Detail

[Static] cache(forceUpdate:Boolean)
Cache the view.
parameters
forceUpdate:Boolean — is force update cache.
[Static] setCacheDirty(dirty:Boolean)
set the cache state diry.
parameters
dirty:Boolean — is cache dirty
[Static] updateCache()
Update the cache.