-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
need a every scroll on record without click on "load more items" #81
Comments
I have the same problem! Anyone help? |
The same with me, anybody can help us to resolve this ticket? Here is my code: $dataProvider, 'itemOptions' => ['class' => 'item'], 'itemView' => '_view_category', 'summary' => '', 'pager' => [ 'class' => \kop\y2sp\ScrollPager::className(), 'triggerText' => 'Load more new items', 'eventOnRendered' => 'function() {window.setTimeout(function() {$(window).scroll();}, 500);}', 'triggerOffset' => 1, 'enabledExtensions' => [ \kop\y2sp\ScrollPager::EXTENSION_TRIGGER, \kop\y2sp\ScrollPager::EXTENSION_SPINNER, \kop\y2sp\ScrollPager::EXTENSION_NONE_LEFT, \kop\y2sp\ScrollPager::EXTENSION_PAGING, ] ] ]); ?>Many thanks. Jason Hai. |
|
set 'enabledExtensions'=> ['IASSpinnerExtension'], |
'triggerOffset'=>$dataProvider->totalCount/$dataProvider->pagination->pageSize, |
this should be closed as the comment from @patpwilly explains the logic |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have set the triggerOffset 3 , but i need a every scroll on record without click on "load more items"
pls help
The text was updated successfully, but these errors were encountered: