Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

caleres-zoom

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caleres-zoom

A zoom package for the Caleres web team.

latest
npmnpm
Version
0.0.12
Version published
Weekly downloads
18
28.57%
Maintainers
2
Weekly downloads
 
Created
Source

Caleres Zoom

This module defines the following jQuery plugins:

$.dZoom(); // Basic zoom support
$.load_script(); // A Test then Load plugin
$.render(); // a lightweight version of Mustache

You can pass the following options into $.dZoom():

  • leftArrowMarkup
  • rightArrowMarkup
  • zoomNoticeLocation - the sizzle selector for where the notice will be appended
  • zoomNoticeMarkup
  • zoomVars - the ?trim.... variable string for the image size
  • nextClass - the class used when sliding from one view to the next
  • resetClass - the class used when bouncing back from over scroll (touch)

Here is an example use of this:

require('caleres-zoom');
$('img[id$="imgLargeDisplay"]').dZoom({
	leftArrowMarkup: '<img src="/Content/images/icons/arrow-left.svg" />',
	rightArrowMarkup: '<img src="/Content/images/icons/arrow-right.svg" />',
});

Use the corresponding caleres-zoom-styles will jump start your layout.

Keywords

caleres

FAQs

Package last updated on 10 Feb 2016

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