Skip to content

Commit

Permalink
update demo application to use version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
HaithemMosbahi committed Jun 24, 2017
1 parent f84b7a3 commit 6cc5bde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@angular/platform-browser-dynamic": "^4.0.0",
"@angular/router": "^4.0.0",
"core-js": "^2.4.1",
"ngx-avatar": "^1.4.0",
"ngx-avatar": "^2.0.0",
"rxjs": "^5.1.0",
"zone.js": "^0.8.4"
},
Expand Down
2 changes: 2 additions & 0 deletions demo/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ <h2>Avatar from different sources</h2>
<ngx-avatar (clickOnAvatar)="avatarClicked($event)" facebookId="1508319875" size="70"></ngx-avatar>
<ngx-avatar googleId="103055244388830425867" [round]="false" size="70"></ngx-avatar>
<ngx-avatar twitterId="StevenWilsonHQ" size="70"></ngx-avatar>
<ngx-avatar vkontakteId="210700286" [round]="false" size="70"></ngx-avatar>

<!-- use facebook as avatar source, if it fails, it will use twitter -->
<ngx-avatar facebookId="15349439434" twitterId="StevenWilsonHQ" size="70"></ngx-avatar>
<ngx-avatar skypeId="echo" size="70"></ngx-avatar>
Expand Down

0 comments on commit 6cc5bde

Please sign in to comment.