Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 310f129

Browse files
committed
docs(guide/directive): clarify attr object definition
Closes #5884
1 parent 0fc64ad commit 310f129

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/content/guide/directive.ngdoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,8 @@ where:
527527

528528
* `scope` is an Angular scope object.
529529
* `element` is the jqLite-wrapped element that this directive matches.
530-
* `attrs` is an object with the normalized attribute names and their corresponding values.
530+
* `attrs` is a hash object with key-value pairs of normalized attribute names and their
531+
corresponding attribute values.
531532

532533
In our `link` function, we want to update the displayed time once a second, or whenever a user
533534
changes the time formatting string that our directive binds to. We will use the `$interval` service

0 commit comments

Comments
 (0)