# inputEx-library

### inputEx 0.5.1

inputEx-library > inputEx > inputEx.visus
Search:
Filters Show Private Show Protected Show Deprecated

## `static` Class inputEx.visus

Contains the various visualization methods

### Methods

#### addInputExModules

`void addInputExModules ( yuiLoader , inputExPath )`
Add inputEx modules to a YUI loader

Parameters:
  `yuiLoader <YUILoader>` YUI Loader instance
  `inputExPath <String>` (optional) inputExPath

#### dump

`void dump ( )`
Use YAHOO.lang.dump options = {visuType: 'dump'}

#### func

`void func ( )`
Use a rendering function options = {visuType: 'func', func: function(data) { ...code here...} }

#### renderVisu

`static HTMLElement || String renderVisu ( visuOptions , data , parentEl )`
Render 'data' using a visualization function described by 'visuOptions'

Parameters:
  `visuOptions <Object>` The visu parameters object with: visuType: 'myType', ...args...
  `data <Object>` The input data to send to the template
  `parentEl <HTMLElement || String>` optional Set the result as content of parentEl

Returns: `HTMLElement || String`
  Either the inserted HTMLElement or the String set to parentEl.innerHTML

#### trimpath

`void trimpath ( )`
Use the trimpath-template engine see http://code.google.com/p/trimpath/wiki/JavaScriptTemplates for syntax options = {visuType: 'trimpath', template: "String template"}

Copyright © 2010 Eric Abouaf All rights reserved.