This is goeland client side html utility functions examples page
See also the debounce example
Documentation is available in docs directory
Back To the github home of this project
cgHtmlUtils.getEl('aNiceSpan').innerHTML = 'it works !';
and the span with id aNiceSpan contains :
function f1(a,b,c){
console.log('a : ', a , cgHtmlUtils.isNullOrUndefined(a))
console.log('b : ',b, cgHtmlUtils.isNullOrUndefined(b))
console.log('c : ',c , cgHtmlUtils.isNullOrUndefined(c))
}
f1('hello')
will give you at the console :
a : hello falseThe next section was added at runtime with "addDiv", content comes from "get*Param" functions.
try this link to experiment get*Param functions