psmb/ajaxify

Last activity 26 Mar 2024 13 5 7456
composer require psmb/ajaxify

Lazily load any content on your Neos site

0.3.1

Version
0.3.1
Type
neos-package
Release Date
Apr 21, 2017 14:29
Source
git
Distribution
zip
Requires
  • neos/neos: ^3.0
LGPL-3.0+ bd554b6d06c49bd90decd767dadbf92a0f782805

Readme excerpt

Psmb.Ajaxify

This package allows you to mark any part of page for asynchronous loading via AJAX with just one line of Fusion code. Why? It helps you to speed up initial page load by delaying the load of some less relevant parts of the page, e.g. comments.

TL;DR
  1. Install the package
composer require psmb/ajaxify
  1. Add @process.myUniqueKey = Psmb.Ajaxify:Ajaxify on any Fusion path. The myUniqueKey key of the processor MUST be globally unique.

  2. Add this anywhere in your Fusion code to include the sample AJAX loading script:

prototype(Neos.Neos:Page).head.ajaxLoader = Psmb.…
Read more
The content of the readme is provided by an external source, which we have no control over. Check out the actual readme at its source.
The same vendor provides 9 package(s).