JavaScript Edu Resources. Angular Courses. React Tutorials. Join us!

ngx-avatar

Avatar component that makes it possible to genearte / fetch avatar based on the information you have about the user.

  • A universal avatar component for Angular 2+ applications that fetches / generates avatar based on the information you have about the user.
  • The component has a fallback system that if for example an invalid Facebook ID is used it will try google ID and so on.
  • You can use this component whether you have a single source or a multiple avatar sources.
  • Once you have installed ngx-avatar, you can import it in your :

    Once the AvatarModule is imported, you can start using the component in your Angular application:

    Check out this file for more examples on how to use ngx-avatar in your application.

  • The demo folder contains an application generated with angular cli that uses ngx-avatar component.



GitHub

Comments are closed, but trackbacks and pingbacks are open.