The preferred way to install this extension is through Composer.
Either run
php composer require panix/wgt-select2 "dev-master"
or add
"panix/wgt-select2": "dev-master"
to the require
section of your composer.json
file.
Just pass the ScrollPager class name to the ListView pager
configuration.
Make sure that items in your list have some classes that can be used as JavaScript selectors.
echo Select2::widget([
]);