Compare commits
1 Commits
dev-turbo-
...
v0.25.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 4824c2d344 |
@@ -6,6 +6,7 @@ import './bootstrap.js';
|
|||||||
* which should already be in your base.html.twig.
|
* which should already be in your base.html.twig.
|
||||||
*/
|
*/
|
||||||
import './styles/app.css';
|
import './styles/app.css';
|
||||||
|
import PullToRefresh from 'pulltorefreshjs';
|
||||||
|
|
||||||
console.log('This log comes from assets/app.js - welcome to AssetMapper! 🎉');
|
console.log('This log comes from assets/app.js - welcome to AssetMapper! 🎉');
|
||||||
|
|
||||||
@@ -18,3 +19,10 @@ var observer = new MutationObserver(function(mutations) {
|
|||||||
|
|
||||||
observer.observe(document, {attributes: false, childList: true, characterData: false, subtree:true});
|
observer.observe(document, {attributes: false, childList: true, characterData: false, subtree:true});
|
||||||
|
|
||||||
|
const ptr = PullToRefresh.init({
|
||||||
|
mainElement: 'body',
|
||||||
|
onRefresh() {
|
||||||
|
window.location.reload();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -64,4 +64,7 @@ return [
|
|||||||
'version' => '2.4.3',
|
'version' => '2.4.3',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
],
|
],
|
||||||
|
'pulltorefreshjs' => [
|
||||||
|
'version' => '0.1.22',
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user