Skip to content

Ellebkey/server-table-pagination

Repository files navigation

server-table-pagination

A server-side pagination component for Angular applications. This component utilizes Tailwind CSS for styling, ensure you have it installed in your project.

Version

1.0.3

Dependencies

  • Angular: ^16.2.0
  • tslib: ^2.3.0
  • Tailwind CSS

Installation

npm install server-table-pagination

Ensure you have Tailwind CSS installed and configured in your project.

npm install tailwindcss

Usage

Import ServerTablePaginationModule in your app module:

import { ServerTablePaginationModule } from 'server-table-pagination';

@NgModule({
  imports: [ ServerTablePaginationModule ]
})
export class AppModule { }

Use the server-table-pagination component in your template:

<lib-server-table-pagination
  [limit]="10"
  [offset]="0"
  [count]="100"
  [inputPlaceHolderText]="'Search'"
  [showInputSearch]="true"
  (filterSearchChanged)="onFilterSearchChanged($event)">
</lib-server-table-pagination>

Events

  • filterSearchChanged: Emitted when pagination controls are interacted or search text is changed.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published