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

mea-material-dual-listbox

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mea-material-dual-listbox

Simple dual listbox component to use with your Angular 10 App with Angular Material and CDK Drag and Drop.

  • 1.0.7
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Build Demo

Mea Material Dual Listbox

Simple dual list box component to use in your Angular app, along with Angular Material.

If you need drag and drop support you can use this one with Angular cdk

Demo

Dependencies

You will need:

  • Angular ^10
  • Angular Material ^10

Instalation

To install this library, run:

$ npm install mea-material-dual-listbox --save

and then from your Angular AppModule:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';

// Import the module
import { MaterialDualListboxModule } from 'mea-material-dual-listbox';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,

    // Add the module in the impots
    MaterialDualListboxModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Once the library is imported, you can use the component in your Angular application:

<material-dual-listbox [source]="items" [(destination)]="'itemsDestination'">
</material-dual-listbox>

Attributes

  • source - The source array of objects
  • destination - The destination array of objects
  • (destinationChange) - An event triggered when the destination array changes.
  • display - The field of each object in the source and destination arrays, default is name.
  • width - The width of the component, default is 360px
  • filter - A boolean whether or not to display a filter for the lists, default is true.
  • searchPlaceholder - filter placeholder, default is Filter
  • header - A boolean whether or not to display a header for the lists, default is false
  • itemsTitle - The title of the source array, default is Items
  • itemsSelectedTitle - The title of the destination array, default is Selected Items
  • showIcons - A boolean wheter or not to display icons for the lists, default is true
  • addIcon - The material icon for the source array, default is add
  • removeIcon - The material icon for the destination array, default is delete
  • addIconColor - The color for the material icon of the source array, default is black
  • removeIconColor - The color for the material icon of the destination array, default is black

Keywords

FAQs

Package last updated on 30 Jul 2020

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