inputEx-library

inputex-visus  3.0.0a

inputEx-library > inputex-visus > inputEx.visus
Search:
 
Filters

static Class inputEx.visus

Contains the various visualization methods

Methods

dump

void dump ( )
Use Y.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 © 2011 Eric Abouaf All rights reserved.