ngx-gravatar
v13.0.0
Published
A customizable Gravatar for Angular applications.
Downloads
9,426
Maintainers
Readme
ngx-gravatar
The gravatar directive for Angular applications.
This directive supports two avatar sources:
- Custom image
- Gravatar
By default, the custom image has higher priority. If it is invalid, the Gravatar will be used. The priority can be changed by setting preferGravatar
input or override the default configuration (see below).
Visit here for more information about Gravatar.
Demo
Live demo here.
If you like ngx-gravatar
, please give it a :star: on github
Installation
Install ngx-gravatar
via NPM, using the command below.
npm install --save ngx-gravatar
# or
yarn add ngx-gravatar
| Angular | Installation command |
| ------------- | ---------------------------------- |
| Angular 13 | npm i --save ngx-gravatar
|
| Angular 11 | npm i --save [email protected]
|
| Angular 10 | npm i --save [email protected]
|
| Angular 9 | npm i --save [email protected]
|
| Angular 8 | npm i --save [email protected]
|
| Angular 6 & 7 | npm i --save [email protected]
|
| Angular 4 & 5 | npm i --save [email protected]
|