ngx-avatar
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "ngx-avatar", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
# # <ngx-avatar> | ||
[![Build Status](https://travis-ci.org/HaithemMosbahi/angular2-avatar.svg?branch=master)](https://travis-ci.org/HaithemMosbahi/angular2-avatar) | ||
[![npm version](https://badge.fury.io/js/ngx-avatar.svg)](https://badge.fury.io/js/ngx-avatar) [![Build Status](https://travis-ci.org/HaithemMosbahi/ngx-avatar.svg?branch=master)](https://travis-ci.org/HaithemMosbahi/ngx-avatar) | ||
A universal avatar component for Angular 2+ applications that fetch / generates avatar based on the informations you have about the user. The component has a fallback system that if for example an invalid Facebook ID is used it will try google ID and so on. | ||
A universal avatar component for Angular 2+ applications that fetches / generates avatar based on the informations you have about the user. The component has a fallback system that if for example an invalid Facebook ID is used it will try google ID and so on. | ||
@@ -78,6 +78,15 @@ You can use this component whether you have a single source or a multiple avatar sources. In this case the fallback system will fetch the first valid avatar. | ||
<ngx-avatar twitterId="1508319875"></ngx-avatar> | ||
<ngx-avatar name="Jhon Doe"></ngx-avatar> | ||
<ngx-avatar skypeId="1508319875"></ngx-avatar> | ||
<ngx-avatar gravatarId="adde9b2b981a8083cf084c63ad86f753"></ngx-avatar> | ||
<ngx-avatar gravatarId="user@gmail.com"></ngx-avatar> | ||
<ngx-avatar src="assets/avatar.jpg"></ngx-avatar> | ||
<ngx-avatar name="John Doe"></ngx-avatar> | ||
<ngx-avatar value="75%"></ngx-avatar> | ||
<ngx-avatar source="facebook" skypeId="skype" googleId="google" name="Haithem Mosbahi" custom="assets/custom.jpg" value="28%" initials facebookId="100008343750912" twitterId="twitter" gravatarId="gravatar" size="100" [round]="true"></ngx-avatar> | ||
<ngx-avatar facebookId="userFacebookID" skypeId="userSkypeID" | ||
googleId="google" name="Haithem Mosbahi" src="assets/avatar.jpg" | ||
value="28%" twitterId="twitter" | ||
gravatarId="adde9b2b981a8083cf084c63ad86f753" | ||
size="100" [round]="true"> | ||
</ngx-avatar> | ||
@@ -84,0 +93,0 @@ ``` |
{ | ||
"name": "ngx-avatar", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "gulp build", |
# # <ngx-avatar> | ||
[![Build Status](https://travis-ci.org/HaithemMosbahi/angular2-avatar.svg?branch=master)](https://travis-ci.org/HaithemMosbahi/angular2-avatar) | ||
[![npm version](https://badge.fury.io/js/ngx-avatar.svg)](https://badge.fury.io/js/ngx-avatar) [![Build Status](https://travis-ci.org/HaithemMosbahi/ngx-avatar.svg?branch=master)](https://travis-ci.org/HaithemMosbahi/ngx-avatar) | ||
A universal avatar component for Angular 2+ applications that fetch / generates avatar based on the informations you have about the user. The component has a fallback system that if for example an invalid Facebook ID is used it will try google ID and so on. | ||
A universal avatar component for Angular 2+ applications that fetches / generates avatar based on the informations you have about the user. The component has a fallback system that if for example an invalid Facebook ID is used it will try google ID and so on. | ||
@@ -78,6 +78,15 @@ You can use this component whether you have a single source or a multiple avatar sources. In this case the fallback system will fetch the first valid avatar. | ||
<ngx-avatar twitterId="1508319875"></ngx-avatar> | ||
<ngx-avatar name="Jhon Doe"></ngx-avatar> | ||
<ngx-avatar skypeId="1508319875"></ngx-avatar> | ||
<ngx-avatar gravatarId="adde9b2b981a8083cf084c63ad86f753"></ngx-avatar> | ||
<ngx-avatar gravatarId="user@gmail.com"></ngx-avatar> | ||
<ngx-avatar src="assets/avatar.jpg"></ngx-avatar> | ||
<ngx-avatar name="John Doe"></ngx-avatar> | ||
<ngx-avatar value="75%"></ngx-avatar> | ||
<ngx-avatar source="facebook" skypeId="skype" googleId="google" name="Haithem Mosbahi" custom="assets/custom.jpg" value="28%" initials facebookId="100008343750912" twitterId="twitter" gravatarId="gravatar" size="100" [round]="true"></ngx-avatar> | ||
<ngx-avatar facebookId="userFacebookID" skypeId="userSkypeID" | ||
googleId="google" name="Haithem Mosbahi" src="assets/avatar.jpg" | ||
value="28%" twitterId="twitter" | ||
gravatarId="adde9b2b981a8083cf084c63ad86f753" | ||
size="100" [round]="true"> | ||
</ngx-avatar> | ||
@@ -84,0 +93,0 @@ ``` |
{ | ||
"name": "ngx-avatar", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3180202
133
2