-
Notifications
You must be signed in to change notification settings - Fork 0
[feature/test-2]:Added the delay to load the page after 4 seconds #2
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ | |
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> | ||
<body> | ||
|
||
|
||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages. |
||
<referenceContainer name="before.body.end"> | ||
<block class="Tutorialstab\LazyloadingInfiniteScroll\Block\Init" name="lazyloadinginfinitescroll.init" template="Tutorialstab_LazyloadingInfiniteScroll::init.phtml" /> | ||
<block class="Tutorialstab\LazyloadingInfiniteScroll" name="lazyloadinginfinitescroll.scripts" template="Tutorialstab_LazyloadingInfiniteScroll::scripts.phtml" /> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ $productListMode = $block->getProductListMode(); | |
$enable = $block->isEnable(); | ||
$delay = $helper->getConfig('lazyloadinginfinitescroll/instances/delay'); | ||
$delay = $delay?(int)$delay:600; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. |
||
|
||
|
||
if($helper->isEnabled() && $enable) { ?> | ||
<script> | ||
require(['jquery', | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting.