ngx-gravatar
Advanced tools
{ | ||
"name": "ngx-gravatar", | ||
"description": "A customizable Gravatar for Angular 4, 5 and 6+ applications - AoT compatible. It supports custom image and Gravatar sources", | ||
"version": "2.1.1", | ||
"description": "A customizable Gravatar for Angular 4, 5(tested) and 6+(tested) applications - AoT compatible. It supports custom image and Gravatar sources", | ||
"version": "2.1.2", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
[](https://badge.fury.io/js/ngx-gravatar) | ||
[](https://travis-ci.org/t-ho/ngx-gravatar) | ||
[](https://www.npmjs.com/package/ngx-gravatar) | ||
[](https://www.npmjs.com/package/ngx-gravatar) | ||
[](https://www.npmjs.com/package/ngx-gravatar) | ||
@@ -9,3 +10,3 @@ [](https://www.npmjs.com/package/ngx-gravatar) | ||
The gravatar directive for angular 4, 5 and 6+. It is AoT compatible. | ||
The gravatar directive for angular 4, 5(tested) and 6+(tested). It is AoT compatible. | ||
@@ -26,4 +27,6 @@ This directive supports two avatar sources: | ||
Play with ngx-gravatar [here](https://stackblitz.com/edit/ngx-gravatar-demo) on stackblitz. | ||
Play with **ngx-gravatar** and **Angular 5** [here](https://stackblitz.com/edit/ngx-gravatar-demo) on stackblitz. | ||
Play with **ngx-gravatar** and **Angular 6** [here](https://stackblitz.com/edit/ngx-gravatar-demo-angular-6) on stackblitz. | ||
## Installation | ||
@@ -87,3 +90,3 @@ | ||
| `borderWidth` | *number* | optional | | Specify the width of the border | | ||
| `style` | *object* | optional | | Style object that will be applied on the `<img>` tag | | ||
| `style` | *object* | optional | | Style object that will be applied on the `<img>` tag. NOTE: It will override others attributes.| | ||
| `backgroundColor`| *string* | optional | `transparent`| Specify the background color | | ||
@@ -90,0 +93,0 @@ | `rating` | *string* | optional | `g` | The rating string of [Gravatar](https://en.gravatar.com/site/implement/images). Possible values: `g`, `pg`, `r`, `x`. `rating` type is case-insensitive. | |
118261
0.24%170
1.8%