dropdown-pagination-angular-18
v18.0.2
Published
This project demonstrates how to implement dropdown pagination in an Angular application using the `dropdown-pagination-angular-18` package.
Downloads
10
Readme
Angular dropdown pagination Example
This project demonstrates how to implement dropdown pagination in an Angular application using the dropdown-pagination-angular-18 package.
Table of Contents
Installation
To install the dropdown-pagination-angular-18 package, run the following command:
npm i dropdown-pagination-angular-18
setup
<dropdown-pagination
bindLabel="name"
[items]="data"
[(ngModel)]="valuechanges"
placeholder="please select "
></dropdown-pagination>usage
<!-- HomeComponent -->
import { Component, OnInit } from '@angular/core';
import { DropDownPaginationModule } from 'dropdown-pagination-angular-18';
@Component({
selector: 'app-home',
standalone: true,
imports: [DropDownPaginationModule],
templateUrl: './home.component.html',
styleUrl: './home.component.scss',
providers: [ModalService]
})
export class HomeComponent implements OnInit {
ngOnInit(): void {
}
}Live Demo
You can view and run the example project live on StackBlitz: link.
