Namespace fabric.Element#cache
Defined in: element.class.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Used for caching SVG documents (loaded via `fabric.Element#loadSVGFromURL`)
|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
fabric.Element#cache.get(url, callback)
|
| <static> |
fabric.Element#cache.has(name, callback)
|
| <static> |
fabric.Element#cache.set(url, object)
|
Namespace Detail
fabric.Element#cache
Used for caching SVG documents (loaded via `fabric.Element#loadSVGFromURL`)
Method Detail
<static>
fabric.Element#cache.get(url, callback)
<static>
fabric.Element#cache.has(name, callback)
<static>
fabric.Element#cache.set(url, object)
- Parameters:
- {String} url
- {Object} object