0.0.5 • Published 2 years ago

easy-avatar v0.0.5

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

EasyAvatar

<easy-user-icon avatarShortName="PS" avatarName="Customer Name" class="default"

@Input() avatarShortName?: string; @Input() avatarName?: string; @Input() avatarShortNameBG?: string; @Input() avatarShortNameColor?: string; @Input() avatarBgColor?: string; @Input() avatarNameColor?: string; @Input() imageUrl?: string; @Input() fullName?: string;

if you pass fullName in initials with be auto generated and override avatarShortName

This library was generated with Angular CLI version 10.1.3.

Code scaffolding

Run ng generate component component-name --project easy-avatar to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project easy-avatar.

Note: Don't forget to add --project easy-avatar or else it will be added to the default project in your angular.json file.

Build

Run ng build easy-avatar to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build easy-avatar, go to the dist folder cd dist/easy-avatar and run npm publish.

Running unit tests

Run ng test easy-avatar to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

0.0.5

2 years ago

0.0.4

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago