Project Outline
«
SmilText JS

Namespace cwi.util

Hold some general-purpose functions.

Defined in: cwi.util.js.

Method Summary
trim(str) Trim a given string.
getStyleByElemId(id, styleProp) Get a property value based on the current style.
getStyleByElem(el, styleProp) Get a property value based on the current style.
Method Detail
cwi.util.trim(str) : string
Trim a given string.

										
									
Parameters:
{string} str string to be trimmed
Returns:
{string}
cwi.util.getStyleByElemId(id, styleProp) : string
Get a property value based on the current style.

										
									
Parameters:
{string} id the element id
{string} styleProp the style property
Returns:
{string}
cwi.util.getStyleByElem(el, styleProp) : string
Get a property value based on the current style.

										
									
Parameters:
{Object} el the HTML element
{string} styleProp the style property
Returns:
{string}
Documentation generated by JsDoc Toolkit 2.3.2 on Mon Nov 09 2009 18:20:42 GMT+0100 (CET)