Go to page content

lazy

scomp which shows a 'loader' image and performs onetime actions when loader comes into view.

mod_geomap uses this to load the map javascript once the admin widget has been opened by the user.

<div id="{{ #lazy }}">
 {% lazy action={update target=#lazy id=id template="_geomap_admin_location_map.tpl"}%}
</div>

This page is part of the Zotonic documentation, which is licensed under the Apache License 2.0.