Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
optimalisatie committed Mar 6, 2023
1 parent 00a84d4 commit 1d79f4b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.com/style-tools/lazy.svg?branch=master)](https://travis-ci.com/style-tools/lazy) [![Version](https://img.shields.io/github/release/style-tools/lazy.svg)](https://github.com/pagespeed-pro/lazy/releases) [![npm version](https://badge.fury.io/js/%40style.tools%2Flazy.svg)](http://badge.fury.io/js/%40style.tools%2Flazy) [![Latest Stable Version](https://poser.pugx.org/styletools/lazy/v/stable.png)](https://packagist.org/packages/styletools/lazy)
[![Build Status](https://travis-ci.com/pagespeed-pro/lazy.svg?branch=master)](https://travis-ci.com/pagespeed-pro/lazy) [![Version](https://img.shields.io/github/release/pagespeed-pro/lazy.svg)](https://github.com/pagespeed-pro/lazy/releases) [![npm version](https://badge.fury.io/js/%40pagespeed-pro%2Flazy.svg)](http://badge.fury.io/js/%40pagespeed-pro%2Flazy) [![Latest Stable Version](https://poser.pugx.org/styletools/lazy/v/stable.png)](https://packagist.org/packages/styletools/lazy)

# `$lazy` Lazy Loader

Expand Down Expand Up @@ -52,9 +52,7 @@ When using [$async](https://github.com/pagespeed-pro/async/), $lazy can be used
### Documentation is available on [pagespeed.pro/lazy](https://pagespeed.pro/lazy/#documentation).
# Installation
## Install via npm
# Install via npm
```bash
npm install @optimization/lazy --save
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "styletools/lazy",
"version": "1.2.3",
"version": "1.3.0",
"description": "A lightweight lazy loader based on `window.IntersectionObserver` with tiny fallback for old browsers.",
"keywords": ["lazy",
"images",
Expand All @@ -12,7 +12,7 @@
"license": "MIT",
"authors": [{
"name": "Style.Tools",
"email": "info@style.tools"
"email": "info@pagespeed.pro"
}],
"type": "project",
"require": {},
Expand Down
1 change: 1 addition & 0 deletions update.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* `window.matchMedia` to preselect src for lazy loaded `srcset` image.

0 comments on commit 1d79f4b

Please sign in to comment.