Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
angular-dropdown-select
Advanced tools
Multiple Dropdown Select - You can use this angular-dropdown-select apart from data tables as well.
Multiple Dropdown Select - You can use this angular-dropdown-select apart from data tables as well.
Instance: A way to bind it with tables. |
npm i angular-dropdown-select
import { AngularDropdownSelectModule } from 'angular-dropdown-select';
<lib-angular-dropdown-select
[headings]="headings"
[extras]="extras"
(onCheckBoxStatusChanged)="selectedColumnChange($event)"
(onUnselectAll)="getStatusOfUnselectedAll($event)">
</lib-angular-dropdown-select>
selectedColumnChange(event: any){
console.log(event);
}
getStatusOfUnselectedAll(event: any){
console.log(event);
}
headings = [
{ id: 1, name: 'id', checked: true },
{ id: 2, name: 'name', checked: true },
{ id: 3, name: 'age', checked: false },
{ id: 4, name: 'email', checked: true },
{ id: 5, name: 'emp_number', checked: true }
];
extras = {
uncheckAllStatus: false,
dropdownButtonText: 'Title'
}
Property/Method | Type | Description |
---|---|---|
headings.id | number | IDs of dropdown select items |
headings.name | string | Names of dropdown select items Or Headings of table shown in example |
headings.checked | boolean | Status/Visibility of dropdown select |
extras.uncheckAllStatus | boolean | Boolean flag to handle all checked/unchecked state |
extras.dropdownButtonText | boolean | To update Button text, else default text is 'Table Columns' |
selectedColumnChange(e) | method | Recieve emitted value for "onCheckBoxStatusChanged" |
getStatusOfUnselectedAll(e) | method | Recieve emitted value for "onUnselectAll" |
Suraj Motwani - Email: suraj.motwani1306@gmail.com
Angular Dropdown Select is available under the MIT license. See the LICENSE file for more info.
FAQs
Multiple Dropdown Select - You can use this angular-dropdown-select apart from data tables as well.
The npm package angular-dropdown-select receives a total of 64 weekly downloads. As such, angular-dropdown-select popularity was classified as not popular.
We found that angular-dropdown-select demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.