You are here

function theme_views_lazy_load_throbber in Views Lazy Load 7

Same name and namespace in other branches
  1. 8 views_lazy_load.module \theme_views_lazy_load_throbber()

Theme callback.

2 theme calls to theme_views_lazy_load_throbber()
ViewsLazyLoadTest::testLazyLoading in ./views_lazy_load.test
Tests the basics of lazy loading.
views_lazy_load_plugin_display_extender::addLoadingArea in includes/views/views_lazy_load_plugin_display_extender.inc
Add a loading div to the view while we're loading the results.

File

./views_lazy_load.module, line 30
Module file for views_lazy_load.module.

Code

function theme_views_lazy_load_throbber() {
  return '<div class="views-lazy-load">' . t('Loading') . '...</div>';
}