Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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.

  • 0.0.12
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc