2017 © Pedro Peláez
 

yii2-extension yii2-widget-lazyload

wrapper of http://www.appelsiini.net/projects/lazyload jquery library

image

toriphes/yii2-widget-lazyload

wrapper of http://www.appelsiini.net/projects/lazyload jquery library

  • Tuesday, November 24, 2015
  • by toriphes
  • Repository
  • 1 Watchers
  • 5 Stars
  • 3,926 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 2 Versions
  • 7 % Grown

The README.md

yii2-widget-lazyload

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Wrapper of lazy loading jquery library., (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer.phar require --prefer-dist toriphes/yii2-widget-lazyload "*"

or add, (*5)

"toriphes/yii2-widget-lazyload": "*"

to the require section of your composer.json file., (*6)

Usage

Once the extension is installed, simply use it in your code by :, (*7)

use toriphes\lazyload\LazyLoad;

echo LazyLoad::widget(['src' => 'url/to/your/image.jpg']);

//enable fallback for non JavaScript user
echo LazyLoad::widget(['src' => 'url/to/your/image.jpg', 'fallback' => true]);

The Versions

24/11 2015

dev-master

9999999-dev

wrapper of http://www.appelsiini.net/projects/lazyload jquery library

  Sources   Download

BSD-3-Clause

The Requires

 

by Giulio Ganci

extension yii2 widget image lazyload

24/11 2015

1.0.0

1.0.0.0

wrapper of http://www.appelsiini.net/projects/lazyload jquery library

  Sources   Download

BSD-3-Clause

The Requires

 

by Giulio Ganci

extension yii2 widget image lazyload