Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ledyx/ngx-bulma-pagination

The simple widget of pagination in Angular using Bulma.
https://github.com/ledyx/ngx-bulma-pagination

angular bulma pagination

Last synced: about 1 month ago
JSON representation

The simple widget of pagination in Angular using Bulma.

Awesome Lists containing this project

README

        

# NgxBulmaPagination

Angular + [Bulma - pagination](https://bulma.io/documentation/components/pagination/)

## Quick Start

1. Install packages

```shell
npm i --save bulma ngx-bulma-pagination
```

2. Import a module

```typescript
// app.module.ts

...
import { NgxBulmaPaginationModule } from "ngx-bulma-pagination";

@NgModule({
...,
imports: [
...,
NgxBulmaPaginationModule
],
...
})
export class AppModule { }
```

3. Using a component

```html

```

## Example

### Basic

* max : Total count. default is ``100``.
* count : Number of buttons per group. default is ``10``.

```html

```

### Style

* isRounded : ``false``(square, default), ``true``(rounded)

```html

```

### Size

* size : ``is-small`` (default), ``is-medium``, ``is-large``

```html

```

### Alignment

* size : ``is-centered`` (default), ``is-left``, ``is-right``

```html

```

### Previous, Next

* previous : default is ``<<``
* next : default is ``>>``

```html

```