Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
ngx-select-dropdown
Advanced tools
A angular(4+) selct dropdown for single selct or multiselct module.
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 4,269 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.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.