0.1.1 • Published 6 years ago

ngx-eb-avatar v0.1.1

Weekly downloads
7
License
MIT
Repository
github
Last release
6 years ago

npm version

ngx-eb-avatar

ngx-eb-avatar is a lightweight avatar generator component.

Demo

Check out the link for a live demo.

Install

npm install --save ngx-eb-avatar

Usage

Import the main moduel:

import { NgxEbAvatarModule } from 'ngx-eb-avatar';

Add the following to your template:

    <ngx-eb-avatar name="Your Name" 
                  [shadow]="true" 
                  width="50" 
                  height="50" 
                  bgColor="337ab7" 
                  fontColor="FFFFFF">
    </ngx-eb-avatar>

Configuration

optiontype
namestring
shadowboolean
widthnumber
heightnumber
bgColorstring
fontColorstring

bgColor and fontColor use HTML Hex color codes with the # sign.

0.1.1

6 years ago

0.0.4

6 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago