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

Commit 9d452bc

Browse files
Chaker Nakhlitbosch
Chaker Nakhli
authored andcommitted
docs(ngSrc): srcset used instead of src for img attribute
In `ngSrc` documentation `srcset` is used instead of `src` as `img` element attribute in the example. Closes #7951
1 parent 192fecc commit 9d452bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/directive/booleanAttrs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
*
141141
* The buggy way to write it:
142142
* ```html
143-
* <img srcset="http://www.gravatar.com/avatar/{{hash}} 2x"/>
143+
* <img src="http://www.gravatar.com/avatar/{{hash}} 2x"/>
144144
* ```
145145
*
146146
* The correct way to write it:

0 commit comments

Comments
 (0)