Class: AttributeHelper

coreutils. AttributeHelper


new AttributeHelper()

Static helper class for attributes

Methods


<static> isProtectedAttribute(attribute)

Check if attribute is in protected attribute list.
Parameters:
Name Type Description
attribute string 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
name string attribute name
Returns:
property name
Type
string
Example
on-pointer -> onPointer