Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
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 6,225 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.