New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

avatar-list

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

avatar-list

This Angular Material Component (Module) for an avatar list with menu for selection

  • 0.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

AvatarList

Avatar List is a simple material compoment displaing avatar images overlapped allowing a menu to select a specific avatar - provides data on selection.

Installation

npm install avatar-list

Scaffolding

Import the module into your project under imports AvatarsListModule

imports: [
    BrowserModule,
    AppRoutingModule,
    AvatarsListModule
  ],

Selector Usage

This is the basic selector

<app-avatars-list [data]="data" [select]="false" (selected)="onSelectedAvatar($event)"

Inputs

The following Inputs are available

InputTypeDefautDescription
dataAvatarDetailsavatarthis is an array of avatar objects
selectBooleanfalseprovides a menu for specific avatar selection

AvatarDetails Model

Here is a sample of the AvatarDetail model information

{ id: 0, name: 'Name of Person', image: 'src.image.png', email: 'name@gmail.com' }

Outputs

EventTypeDescription
selectedAvatarDetailsReturns the AvatarDetails object

Keywords

FAQs

Package last updated on 23 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc