All Projects → ngx-lib → multiselect

ngx-lib / multiselect

Licence: MIT license
Angular Multiselect

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
SCSS
7915 projects
HTML
75241 projects

Projects that are alternatives of or similar to multiselect

Ngx Select Dropdown
Custom Dropdown for Angular 4+ with multiple and single selection options
Stars: ✭ 91 (+213.79%)
Mutual labels:  multiselect, dropdown
Nb Choices
Angular wrapper for choices.js, vanilla, lightweight, configurable select box/text input plugin
Stars: ✭ 32 (+10.34%)
Mutual labels:  multiselect, dropdown
React Selectrix
A beautiful, materialized and flexible React Select control
Stars: ✭ 166 (+472.41%)
Mutual labels:  multiselect, dropdown
Angular2 Multiselect Dropdown
Angular 2 Dropdown Multiselect
Stars: ✭ 225 (+675.86%)
Mutual labels:  multiselect, dropdown
Ng Select
⭐ Native angular select component
Stars: ✭ 2,781 (+9489.66%)
Mutual labels:  multiselect, dropdown
Multiselect
Vue 3 multiselect component with single select, multiselect and tagging options.
Stars: ✭ 92 (+217.24%)
Mutual labels:  multiselect, dropdown
react-multi-select-component
Lightweight (~5KB gzipped) multiple selection dropdown component
Stars: ✭ 279 (+862.07%)
Mutual labels:  multiselect, dropdown
react-picky
Yet another React multiselect. With checkbox support instead of tags.
Stars: ✭ 78 (+168.97%)
Mutual labels:  multiselect, dropdown
Downshift
🏎 A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete, combobox or select dropdown components.
Stars: ✭ 10,183 (+35013.79%)
Mutual labels:  multiselect, dropdown
Ng Multiselect Dropdown
Multiple Select Dropdown Component
Stars: ✭ 199 (+586.21%)
Mutual labels:  multiselect, dropdown
Multiselectadapter
MultiSelectAdapter可以让你的Adapter快速实现多选和批量操作
Stars: ✭ 195 (+572.41%)
Mutual labels:  multiselect
vue-tags-component
Vue.js 2+ tags component
Stars: ✭ 27 (-6.9%)
Mutual labels:  dropdown
toppy
Overlay library for Angular 7+
Stars: ✭ 81 (+179.31%)
Mutual labels:  dropdown
Ios Multiselectiontable
Beautiful way of having a multi-selection table on iOS written in Swift
Stars: ✭ 156 (+437.93%)
Mutual labels:  multiselect
Multiselectspinner
Android - Select Multiple Items from Spinner with Filtration.
Stars: ✭ 158 (+444.83%)
Mutual labels:  multiselect
react-native-autocomplete-dropdown
Dropdown Item picker with search and autocomplete (typeahead) functionality for react native
Stars: ✭ 87 (+200%)
Mutual labels:  dropdown
Multiselectpopwindow
链式多选弹窗,轻松集成
Stars: ✭ 152 (+424.14%)
Mutual labels:  multiselect
React Multi Select
A Multi Select component built with and for React
Stars: ✭ 111 (+282.76%)
Mutual labels:  multiselect
choc-autocomplete
🏇 Autocomplete Component Package for Chakra UI
Stars: ✭ 286 (+886.21%)
Mutual labels:  dropdown
wui
Collection of GUI widgets for the web
Stars: ✭ 44 (+51.72%)
Mutual labels:  dropdown

https://nodei.co/npm/@ngx-lib/multiselect.png?downloads=true&downloadRank=true&stars=true HitCount Known Vulnerabilities Build Status

Multiselect

This project focuses on serving an intuitive select control. This look and feel of the component has been inspired by AngularJS isteven-multiselect directive, but from coding perspective, this may not be architectured in the similar way. It supports ultimate features like

  • 🖱️Virtual scroll
  • 📃Forms
  • 🎨Theming (bootstrap/material)
  • 👀Observable
  • 🅰️@angular 6+
  • 👨‍👧‍👧Grouping
  • etc...

visit docs

Getting Started

It's super easy to get started with Angular multiselect dropdown. Only three steps are required:

  1. Install @ngx-lib/multiselect package

    npm install -S @ngx-lib/multiselect
  2. Import module NgxMultiselectModule into your app.module.ts

    import { NgxMultiselectModule } from '@ngx-lib/multiselect';
    
    @NgModule({
        imports: [
            ...,
            NgxMultiselectModule // <-- add module in imports
        ],
        bootstrap: [AppComponent],
        providers: [...],
        declarations: [...]
    })
    export class AppModule {
    
    }
  3. Use ngx-multiselect on HTML

    <ngx-multiselect
        [(ngModel)]="selectedCountry"
        [options]="countries"
        ngDefaultControl>
    </ngx-multiselect>
    import { Component, OnInit } from '@angular/core';
    
    @Component({...})
    export class AppComponent implements OnInit {
        countries;
        selectedCountry;
    
        ngOnInit() {
            this.countries = [
                { id: 1, name: "India"},
                { id: 2, name: "USA" },
                { id: 3, name: "China" },
                { id: 4, name: "Japan" }
            ];
    
            this.selectedCountry = [{
                id: 1,
                name: "India"
            }];
        }
    }

Stackblitz Demo

Developer tasks

We use npm to manage the dependencies and to run build tasks. You should run all these tasks from the multiselect/docs_app folder. Here are the most important tasks you might need to use:

  • npm install - install all the dependencies.

  • npm run setup - install all the dependencies and run dgeni on the docs.

  • npm run build - create a production build of the application (after installing dependencies, etc).

  • npm start - run a development web server that watches the files; then builds the doc-viewer and reloads the page, as necessary.

  • npm run serve-and-sync - run both the docs-watch and start in the same console.

  • npm run lint - check that the doc-viewer code follows our style rules.

  • npm test - watch all the source files, for the doc-viewer, and run all the unit tests when any change.

  • npm test -- --watch=false - run all the unit tests once.

  • npm run e2e - run all the e2e tests for the doc-viewer.

  • npm run docs - generate all the docs from the source files.

  • npm run docs-watch - watch the multiselect source and the docs files and run a short-circuited doc-gen for the docs that changed (don't work properly at the moment).

  • npm run docs-lint - check that the doc gen code follows our style rules.

  • npm run docs-test - run the unit tests for the doc generation code.

  • npm run build-ie-polyfills - generates a js file of polyfills that can be loaded in Internet Explorer.

Running unit tests

Run test cases

ng test --project='multiselect'

Check code coverage

  1. ng test --project='multiselect' --code-coverage
  2. npx http-server -c-1 -o -p 9875 ./coverage

alt text

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].