Util
Members
-
staticUtil.getOffsetLeft
-
get offset left
-
staticUtil.getOffsetTop
-
get offset top
-
staticUtil.vendor
-
vendors
Methods
-
add className for the element
Name Type Description el
HTMLElement className
String -
get offset left
Name Type Description el
HTMLElement selector
String rootNode
HTMLElement Returns:
element
-
Generate a unique integer id (unique within the entire client session).
Name Type Description prefix
String -
judge if has class
Name Type Description el
HTMLElement className
String -
judge if is an android os
-
judge if is an android device with low performance
-
add vendor to attribute
Name Type Description attrName
String name of attribute -
remove an element
Name Type Description el
HTMLElement -
remove className for the element
Name Type Description el
HTMLElement className
String