![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
ngx-select-dropdown
Advanced tools
Readme
ngx-select-dropdown
Custom Dropdown component for Angular 4+ with multiple and single selection options
npm install ngx-select-dropdown
SelectDropDownModule
into your app.module;import { SelectDropDownModule } from 'ngx-select-dropdown'
SelectDropDownModule
to the imports of your NgModule:@NgModule({
imports: [
...,
SelectDropDownModule
],
...
})
class YourModule { ... }
angular-cli.json
. "styles": [
"../node_modules/ngx-select-dropdown/dist/assets/style.css"
],
<ngx-select-dropdown></ngx-select-dropdown>
in your templates to add the custom dropdown in your view like below<ngx-select-dropdown (change)="selectionChanged($event)" [multiple]="true" [(value)]="dataModel" [config]="config" [options]="dropdownOptions"></ngx-select-dropdown>
multiple: boolean
- true/false
beased if multiple selection required or not Defaults to false
.options: Array
- Array of string/objects that are to be the dropdown options.value: any
- the model variable in which you want to save the selected options.config: Object
- configuration object.config = {
displayKey:"description", //if objects array passed which key to be displayed defaults to description
search:true //true/false for the search functionlity defaults to false,
height: 'auto' //height of the list so that if there are more no of items it can show a scroll defaults to auto. With auto height scroll will never appear
}
value: any
- array of selected optionschange: Event
- change event when user changes the selected options Added a change event so that user can attach a change event handler.
If multiselect the selected text will display first item and + count for eg. (Option 1 + 2 more) .
Angular 4 and above support.
Bug with search functionality fixed.
Support for Observable data source for options and async pipe.
IE bug with styling.
Few other minor bug fixes.
Use arrows keys and enter to select items from available options.
Case insensitive search.
Few other minor bug fixes.
Support for scroll bar with too many list items.
Few other minor bug fixes.
Found a bug or an issue with this? Open a new issue here on GitHub.
Anyone and everyone is welcome to contribute. Please take a moment to review the guidelines for contributing.
FAQs
A angular(4+) select dropdown for single select or multiselct module.
The npm package ngx-select-dropdown receives a total of 5,386 weekly downloads. As such, ngx-select-dropdown popularity was classified as popular.
We found that ngx-select-dropdown demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.