new AttributeHelper()
Static helper class for attributes
Methods
-
<static> isProtectedAttribute(attribute)
-
Check if attribute is in protected attribute list.
Parameters:
Name Type Description attributestring attribute name Returns:
is/is not- Type
- boolean
-
<static> parseAttributeNameForProperty(name)
-
Converts attribute name to property name, by changing dash to uppercase letter
Parameters:
Name Type Description namestring attribute name Returns:
property name- Type
- string
Example
on-pointer -> onPointer