$normalize(name);
Converts an attribute name (e.g. dash/colon/underscore-delimited string, optionally prefixed with x-
or data-
) to its normalized, camelCase form.
Also there is special case for Moz prefix starting with upper case letter.
For further information check out the guide on Matching Directives
Parameters
Param | Type | Details |
---|---|---|
name | string | Name to normalize |
Please login to continue.