2.0.1 • Published 4 years ago

ngx-letter-avatar v2.0.1

Weekly downloads
8
License
MIT
Repository
github
Last release
4 years ago
npm install ngx-letter-avatar
person: {
    avatar: {
        url: 'http://www.youravatarurl.com'
    }
    firstName: 'Cem',
    lastName: 'Ezgin,
    // OR
    fullName: 'Cem Ezgin'
}

If the avatar object is null letter avatar is going to generated. You can take first and last name seperate or together.

<letter-avatar person='{{person | json}}'></letter-avatar>
 .shape-avatar {
    width: 55px;
    height:55px;
    border-radius: 50%;
       .letter-avatar {
          padding-top: 18px;
          font-size: 15px;
       }
  }
2.0.1

4 years ago

2.0.0

4 years ago

1.1.4

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago