Socket
Book a DemoInstallSign in
Socket

viskan-deku-inline-zoom

Package Overview
Dependencies
Maintainers
5
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

viskan-deku-inline-zoom

Zoom on hover component for Deku

latest
npmnpm
Version
1.2.0
Version published
Maintainers
5
Created
Source

deku-inline-zoom

Zoom on hover component for Deku

Install

$ npm install --save viskan-deku-inline-zoom

Usage

import InlineZoom from 'viskan-deku-inline-zoom';

export function render() {
	return (
		<InlineZoom src='https://placehold.it/600x300' zoom='https://placehold.it/1200x600'/>
	);
}

Attributes

alt

Type: string

Add alt attribute to the image.

class

Type: string

Add a class to the wrapping element.

itemprop

Type: string

Add itemprop attribute to the image.

src

Type: string

The image to show unzoomed.

zoom

Type: string

The image to used as zoom.

Keywords

component

FAQs

Package last updated on 28 Apr 2017

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