easy-avatar
v0.0.5
Published
<easy-user-icon avatarShortName="PS" avatarName="Customer Name" class="default" ></easy-user-icon>
Downloads
5
Keywords
Readme
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 yourangular.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.