You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

adaptive-image

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adaptive-image

adaptive-image

0.0.1
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

lazy-js-utils

A image component that adapts to dpr and picture size

:book: Install

npm i adaptive-image

# import { AdaptiveImage } from 'adaptive-image'

✋ Example

Adapt according to dpr * imageWidth Use the image in size to replace the src path @300

  <adaptive-image alt="xx" style="width:200px;" src="http://localhost:3333/public/xx@300.jpg" :size="[300,500,1000]"></adaptive-image>

License

MIT License © 2022 Simon He

Buy Me A Coffee

sponsors

Keywords

adaptive-image

FAQs

Package last updated on 24 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts