Optional
element: JQLiteOptional
attributesToCopy: anyConverts all accepted directives format into proper directive name.
Name to normalize
Observes an interpolated attribute.
The observer function will be invoked once during the next $digest
following
compilation. The observer is then invoked whenever the interpolated value
changes.
Normalized key. (ie ngAttribute) .
Function that will be called whenever the interpolated value of the attribute changes. See the guide/interpolation#how-text-and-attribute-bindings-work Interpolation guide for more info.
Returns a deregistration function for this observer.
Set a normalized attribute on the element in a way such that all directives can share the attribute. This function properly handles boolean attributes.
Normalized key. (ie ngAttribute)
The value to set. If null
attribute will be deleted.
If false, does not write the value to DOM element attribute. Defaults to true.
Optional none normalized name. Defaults to key.
Adds and removes the appropriate CSS class values to the element based on the difference between the new and old CSS class values (specified as newClasses and oldClasses).
The current CSS className value
The former CSS className value
Converts an attribute name (e.g. dash/colon/underscore-delimited string, optionally prefixed with
x-
ordata-
) 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 guide/directive#matching-directives Matching Directives