Namespace vq.utils.VisUtils
A set of simple functions for laying out visualizations rapidly.
Defined in: vq.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Used as a static class object to reserve a useful namespace.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
vq.utils.VisUtils.clone(o)
Ext.ux.util.Clone Function
|
<static> |
vq.utils.VisUtils.createDiv(id, className, innerHTML)
Utility function for the creation of a div with specified parameters.
|
Method Detail
<static>
{Object/Array}
vq.utils.VisUtils.clone(o)
Ext.ux.util.Clone Function
Author: Ing. Jozef Sak�lo?.
Author: Ing. Jozef Sak�lo?.
- Parameters:
- {Object/Array} o
- Object or array to clone
- Returns:
- {Object/Array} Deep clone of an object or an array
<static>
vq.utils.VisUtils.createDiv(id, className, innerHTML)
Utility function for the creation of a div with specified parameters. Useful in structuring interface for
multi-panel cooperating visualizations.
- Parameters:
- {String} id
- - the id of the div to be created.
- {String} className Optional
- - the class of the created div
- {String} innerHTML Optional
- - text to be included in the div
- Returns:
- divObj - a reference to the div (DOM) object