url required default (none - required)The address fetched by AJAX (or, in nolazy mode, fetched on the server) and rendered inside the placeholder div. Usually a relative url to an AA view, for example view.php?vid=22. URL_PARAMETERS in the url is replaced with the current query string. An empty url produces no output at all.
placeholder optional default [*] (a loading spinner)HTML shown in the div before the real content arrives. The token [*] is replaced with a small spinner image (loader.gif). Keep it lightweight - it is what the visitor sees until the fetch completes.
mode optional default (empty - lazy on scroll)When to fetch. Empty (the default) waits with an IntersectionObserver until the placeholder nears the viewport. now starts the AJAX fetch immediately on page load. nolazy drops the JavaScript entirely and fetches the content inline on the server while the page is built.
[{lazy:}]
{lazy:view.php?vid=22}
{lazy:view.php?vid=22:Loading comments...}
{lazy:view.php?vid=22::now}
{lazy:view.php?vid=999999::nolazy}