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 2+ 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"
],
<ng--select-dropdown></ng--select-dropdown>
in your templates to add pagination in your view like below<ngx-select-dropdown [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
}
value: any
- array of selected optionsFound a bug or an issue with this? Open a new issue here on GitHub.
FAQs
A angular(4+) select dropdown for single select or multiselct module.
The npm package ngx-select-dropdown receives a total of 5,625 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.