$compile.directive.Attributes.$set()

$set(name, value);

Set DOM element attribute value.

Parameters

Param Type Details
name string

Normalized element attribute name of the property to modify. The name is reverse-translated using the $attr property to the original name.

value string

Value to set the attribute to. The value can be an interpolated string.

doc_AngularJS
2016-03-29 16:10:14
Comments
Leave a Comment

Please login to continue.