Hemi JavaScript Framework
Hemi.util
Description
The utility class includes node and object help functions.
static Hemi.util
version 3.1.0
Hemi framework utilities
Index
Method Index
- public absorb: Copies the source array into the target array.
- public evaluateElementHandler: Evaluates an attribute on an XHTML Node (e.g.: onclick)
- public getDate: Returns the current date.
- private merge: Merges an internal object into the specified.
Methods
absorb
Copies the source array into the target array.
Syntax
void absorb(
a, b
)
Parameters
- a as array : Source array.
- b as array : Target array.
evaluateElementHandler
Evaluates an attribute on an XHTML Node (e.g.: onclick)
Syntax
void evaluateElementHandler(
e, h
)
Parameters
- e as Node : An XHTML Node.
- h as String : The name of an attribute that includes JavaScript.
getDate
Returns the current date.
Syntax
d = getDate(
i
)
Parameters
- i as bit : Bit indicating whether to return the date as the time, or the date object.
Returns
d as vDate: Returns the date
merge
Merges an internal object into the specified. Method is private and should not be directly referenced.
Syntax
h = merge(
o, n, s
)
Parameters
- o as object : Target object to merge features..
- n as String : Name of merge features.
- s as String : String representing merge features.
Returns
h as String: A hash of the specified value.
[ Hemi JavaScript Framework - Stephen W. Cote, 2002 - 2009. ]