keygenqt / yii2-link-pager-points
Widget from form image ajax load.
Installs: 58
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Type:yii2-extension
Requires
- php: >=5.4.0
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-12-29 05:27:09 UTC
README
LinkPager for yii2 with points
Installation
The preferred way to install this extension is through composer.
Either add
"require": {
"keygenqt/yii2-link-pager-points": "*"
}
of your composer.json
file.
Usage
<?= ListView::widget([ 'dataProvider' => $model->search(Yii::$app->request->getQueryParams()), 'itemView' => 'block/item', 'layout' => "{items}{pager}", 'options' => [ 'tag' => 'ul', 'class' => 'list' ], 'itemOptions' => [ 'tag' => 'li', ], 'pager' => [ 'class' => 'keygenqt\linkPager\LinkPager', 'maxButtonCount' => 5 ], ]); ?>