mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-18 07:50:52 +08:00
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
This commit is contained in:
committed by
Tobias Bosch
parent
b775e2bca1
commit
0885446b82
@@ -140,7 +140,7 @@
|
||||
*
|
||||
* The buggy way to write it:
|
||||
* ```html
|
||||
* <img srcset="http://www.gravatar.com/avatar/{{hash}} 2x"/>
|
||||
* <img src="http://www.gravatar.com/avatar/{{hash}} 2x"/>
|
||||
* ```
|
||||
*
|
||||
* The correct way to write it:
|
||||
|
||||
Reference in New Issue
Block a user