Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
ngx-dropdown-list
Advanced tools
[![npm](https://img.shields.io/npm/v/ngx-dropdown-list.svg?style=flat-square)](https://www.npmjs.com/package/ngx-dropdown-list) [![npm downloads](https://img.shields.io/npm/dm/ngx-dropdown-list.svg)](https://www.npmjs.com/package/ngx-dropdown-list) [![Tra
An Angular 6 module for selecting data from drop-down list which supports multi-slection and filter.
npm install ngx-dropdown-list --save
Check out the DEMO for more information!
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { DropdownListModule } from '../ngx-dropdown-list';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
DropdownListModule,
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
<ngx-dropdown-list (selectionChange)="onChange($event)"
[items]="optionItems"
[multiSelection]="false"
[placeHolder]="'place holder of the drop-down list'"
[(selectedValue)]="maxRowsLimitation"
[suffixText]="' suffix text'"
[filterBox]="false"
[formatNumber]="true"
[disabled]="false">
</ngx-dropdown-list>
Name | Description | Example |
---|---|---|
(selectionChange) | On change function called after the status of selection changed | (selectionChange)="onChange($event)" |
items | Source data of the drop-down list | [items]="optionItems" |
multiSelection | Provides support for multiple selection | [multiSelection]="true" |
placeHolder | Place holder of the drop-down list | [placeHolder]="'place holder of the drop-down list'" |
selectedValue | selected value of the drop-down list, supports 2-way binding | [(selectedValue)]="maxRowsLimitation" |
suffixText | suffix text of the drop-down list | [suffixText]="' suffix text'" |
searchColumn | the column which will be searched by the search input | [searchColumn]="'KPI'" |
filterBox | Enable or disable the filter input | [filterBox]="true" |
formatNumber | Provides support for formatting numbers | [formatNumber]="true" |
disabled | Enable or disable the drop-down list | [disabled]="false" |
/* input date without group info. */
optionItems = [
{id: 'Max', value: 'Max', text: 'Maximum'},
{id: 'Average', value: 'Average', text: 'Average'},
{id: 'Sum', value: 'Sum', text: 'Total'},
{id: 'Last', value: 'Last', text: 'Last'}
];
/* input date with group info. */
timezones = [
{group: 'Africa', items: [
{id: '1', value: 'Africa/Abidjan', text: 'Africa - Abidjan (GMT+00:00)', selected: false},
{id: '2', value: 'Africa/Accra', text: 'Africa - Accra (GMT+00:00)', selected: false},
{id: '3', value: 'Africa/Addis_Ababa', text: 'Africa - Addis Ababa (GMT+03:00)', selected: false},
{id: '4', value: 'Africa/Algiers', text: 'Africa - Algiers (GMT+01:00)', selected: false},
{id: '5', value: 'Africa/Asmara', text: 'Africa - Asmara (GMT+03:00)', selected: false},
]},
{group: 'America', items: [
{id: '6', value: 'America/Adak', text: 'America - Adak (GMT-10:00)', selected: false},
{id: '7', value: 'America/Anchorage', text: 'America - Anchorage (GMT-09:00)', selected: false},
{id: '8', value: 'America/Anguilla', text: 'America - Anguilla (GMT-04:00)', selected: false},
{id: '9', value: 'America/Antigua', text: 'America - Antigua (GMT-04:00)', selected: false},
{id: '10', value: 'America/Araguaina', text: 'America - Araguaina (GMT-03:00)', selected: false},
]}
]
FAQs
[![npm](https://img.shields.io/npm/v/ngx-dropdown-list.svg?style=flat-square)](https://www.npmjs.com/package/ngx-dropdown-list) [![npm downloads](https://img.shields.io/npm/dm/ngx-dropdown-list.svg)](https://www.npmjs.com/package/ngx-dropdown-list) [![Tra
The npm package ngx-dropdown-list receives a total of 138 weekly downloads. As such, ngx-dropdown-list popularity was classified as not popular.
We found that ngx-dropdown-list demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.