16.0.4 • Published 9 months ago

ngx-mat-select v16.0.4

Weekly downloads
639
License
MIT
Repository
github
Last release
9 months ago

NgxMatSelect

It is an independent component like mat-select and a solution for handling SearchBox, VirtualScroll and InfiniteScroll which the Angular material select-box does not support them by it-self.

Extra Advantages that you'll gain more than using mat-select:

  • Searchable in the both client and server side modes
  • Virtual Scroll in the both client and server side modes as well
  • Infinite Scroll in the server side mode

RLT support (use dir='rtl' in html tag)

Documents Online

Customize Online

Source Code Stackblitz

Version compatibility

Angular MaterialNgxMatSelect
16.x.x>= 16
15.x.x>= 15
14.x.x>= 14

Installation Guide

  • the first step is to initial ngx-mat-select theme like the other Angular Material Components

    for example add the following line in the styles.scss file:

    @use "ngx-mat-select" as ngxMatSelect; 
     or
    @use "node_modules/ngx-mat-select" as ngxMatSelect; 

    then apply your Angular Material Theme to the ngxMatSelect theme

      @include ngxMatSelect.theme($your-theme);
      @include ngxMatSelect.typography($your-typography);

    if you want to use dark-theme and light-theme:

      .darkMode {
          ...
          @include ngxMatSelect.theme($your-dark-theme);
      }
  • The second step is to add NgxMatSelectModule into your Module

    import {NgxMatSelectModule} from "ngx-mat-select";
    ...
    @NgModule({
     imports: [
      ...
      NgxMatSelectModule
      ...
      ]
    })

you can define some global default configs:

  providers: [
  {
    provide: NGX_MAT_SELECT_CONFIG, 
    useValue: {
              viewType?: NgxMatSelectViewType;
              hasBackButton?: boolean;
              multipleDisplay?: NgxMatSelectMultipleDisplay;
              dataKey?: string;
              optionLabel?: string;
              optionValue?: string;
              panelWidth?: string | number | null;
              overlayPanelClass?: string | string[];
              optionHeight?: number;
              panelHeight?: number;
            }}
  ],
15.0.2

9 months ago

15.0.3

9 months ago

15.0.0

10 months ago

15.0.1

10 months ago

15.0.4

9 months ago

14.0.0

10 months ago

14.0.1

9 months ago

14.0.3

9 months ago

14.0.4

9 months ago

16.0.2

9 months ago

16.0.1

9 months ago

16.0.0

9 months ago

16.0.4

9 months ago

16.0.3

9 months ago

1.5.4

2 years ago

1.5.3

2 years ago

1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.9

3 years ago

1.4.8

3 years ago

1.4.7

3 years ago

1.4.6

3 years ago

1.4.5

3 years ago

1.4.4

3 years ago

1.4.3

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.3.7

3 years ago

1.3.6

3 years ago

1.3.5

3 years ago

1.3.4

3 years ago

1.4.0

3 years ago

1.3.9

3 years ago

1.3.8

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.8

3 years ago

1.1.9

3 years ago

1.2.7

3 years ago

1.1.8

3 years ago

1.2.6

3 years ago

1.1.7

3 years ago

1.2.5

3 years ago

1.1.6

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.9

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.1.2

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago

0.0.1

3 years ago