Skip to content

Commit 266858f

Browse files
committed
Edited api/index.markdown via GitHub
1 parent 7078086 commit 266858f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

api/index.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ property, text, html, append, insert, remove, sort, on, transition, call.
6464

6565
**attr**(name, value): Set the attribute named _name_ to _value_ on the selected
6666
DOM node. _name_ is XML namespace aware. _value_ can be one of three things:
67+
6768
- empty: remove the attribute
6869
- constant: set the attribute to the supplied value
6970
- function: set the attribute to the result of calling the function. The function is invoked with two arguments: the bound data and the index of the bound data.

0 commit comments

Comments
 (0)