{"id":13495397,"url":"https://github.com/jackmoore/zoom","last_synced_at":"2025-05-14T11:09:02.188Z","repository":{"id":1836404,"uuid":"2760791","full_name":"jackmoore/zoom","owner":"jackmoore","description":"jQuery plugin for zooming images on mouseover.","archived":false,"fork":false,"pushed_at":"2024-06-27T14:03:06.000Z","size":421,"stargazers_count":1544,"open_issues_count":81,"forks_count":461,"subscribers_count":66,"default_branch":"master","last_synced_at":"2025-05-13T16:21:23.323Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.jacklmoore.com/zoom/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"marcgibbons/django-rest-swagger","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jackmoore.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-11-12T08:25:57.000Z","updated_at":"2025-04-23T12:08:29.000Z","dependencies_parsed_at":"2024-10-31T10:31:17.662Z","dependency_job_id":"c996e622-d75d-44d7-b734-0e67e09ea552","html_url":"https://github.com/jackmoore/zoom","commit_stats":{"total_commits":64,"total_committers":13,"mean_commits":4.923076923076923,"dds":0.546875,"last_synced_commit":"aabcdc20e01228b096e8829ba88cb64b36dc13a5"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackmoore%2Fzoom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackmoore%2Fzoom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackmoore%2Fzoom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackmoore%2Fzoom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jackmoore","download_url":"https://codeload.github.com/jackmoore/zoom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254129488,"owners_count":22019628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T19:01:34.322Z","updated_at":"2025-05-14T11:09:02.159Z","avatar_url":"https://github.com/jackmoore.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Images","13.21 缩放 (Zooming)"],"sub_categories":["Data Table","13.20 视差滚动(Parallax Scrolling)"],"readme":"## About Zoom\r\n\r\nA small jQuery plugin for zooming images on mouseover or mousedown. See the [project page](http://jacklmoore.com/zoom/) for documentation and a demonstration.  Released under the [MIT license](http://www.opensource.org/licenses/mit-license.php).\r\n\r\nTo compile the .min.js file, run: `uglifyjs --comments '/license:/' \u003c jquery.zoom.js \u003e jquery.zoom.min.js` \r\n\r\n## Changelog:\r\n\r\n##### v1.7.21 - 2018/4/26\r\n* Added empty alt attribute. Resolves #134\r\n\r\n##### v1.7.20 - 2017/4/25\r\n* Replaced alt and aria-hidden with role attribute. Resolves #121\r\n\r\n##### v1.7.19 - 2017/4/20\r\n* Added alt and aria-hidden attributes to the zoom layer img element. Merged #121\r\n\r\n##### v1.7.18 - 2016/9/9\r\n* Fixed regression from 1.7.16 that occurred when the target option was passed a selector. Fixes #113\r\n\r\n##### v1.7.17 - 2016/9/7\r\n* Detect src using element.currentSrc to support srcset. Fixes #82\r\n\r\n##### v1.7.16 - 2016/9/7\r\n* Cancelled the onload event when calling destroy.  Fixes #83\r\n\r\n##### v1.7.15 - 2016/2/8\r\n* Added touchend event, might fix #97 #75 #62.  Merges #100.\r\n\r\n##### v1.7.14 - 2015/3/18\r\n* Fixes bug with passing the `target` property a selector, rather than a DOM node. Merges #73.\r\n\r\n##### v1.7.13 - 2014/4/29\r\n* Destroy event does a better job of reseting back to the original state.\r\n\r\n##### v1.7.12 - 2014/2/11\r\n* Set zoomed image's maxHeight to none, just in case a maxHeight has been defined for images in the CSS.\r\n\r\n##### v1.7.11 - 2013/11/12\r\n* Added magnify property to allow scaling of the zoomed image.\r\n\r\n##### v1.7.10 - 2013/10/16\r\n* Fixed bug relating to the size of the target element when using the target property (Fixes #35)\r\n\r\n##### v1.7.9 - 2013/10/16\r\n* Added simple fallback for touch events (Fixes #37 #39)\r\n* Renamed minified file to jquery.zoom.min.js to match jQuery's convention.\r\n\r\n##### v1.7.8 - 2013/7/30\r\n* Will use data-src attribute if present before checking for the presence of an src attribute.\r\n\r\n##### v1.7.7 - 2013/7/14\r\n* Restricted grab to just the left-mouse-button on mousedown\r\n\r\n##### v1.7.6 - 2013/6/24\r\n* Fixed misnamed onZoomOut callback\r\n\r\n##### v1.7.5 - 2013/6/19\r\n* Fixed a bug with absolutely or fixed position target elements\r\n* Set the value of `this` to be zoom-image element for the onZoomIn and onZoomOut callbacks\r\n\r\n##### v1.7.4 - 2013/6/18\r\n* Namespaced events to assist unbinding events.\r\n* Added destroy event to unbind zoom events \u0026 remove created img element. Example:\r\n\t$('.example').trigger('zoom.destroy');\r\n* Added onZoomIn and onZoomOut callbacks\r\n\r\n##### v1.7.3 - 2013/6/10\r\n* Fixing mistake made in previous commit\r\n\r\n##### v1.7.2 - 2013/6/6\r\n* Replaced new Image() with document.createElement('img') to avoid a potential bug in Chrome 27.\r\n\r\n##### v1.7.1 - 2013/3/12\r\n* Replaced jQuery shorthand methods with on() in anticipation of jQuery 2.0\r\n\r\n##### v1.7.0 - 2013/1/31\r\n* Added 'toggle' behavior to zoom in/out on click.  Example: $('#example').zoom({ on:'toggle' });\r\n* Removed the icon property in favor of just using CSS.\r\n\r\n##### v1.6.0 - 2013/1/22\r\n* Created $.zoom which contains the positioning logic, so that users can write custom controls or event handling.\r\n\r\n##### v1.5.0 - 2012/11/19\r\n* Added 'target' property for specifying the element that displays the zoomed image.\r\n\r\n##### v1.4.0 - 2012/9/29\r\n* Changed API \u0026 added option to activate on click.\r\n\r\n##### v1.3.0 - 2011/12/21\r\n* Added 'callback' property that will execute a callback function once the image has loaded.\r\n* Fixed a bug relating to the 'grab' property\r\n\r\n##### v1.2.0 - 2011/11/15\r\n* Fixed a positioning bug\r\n\r\n##### v1.1.0 - 2011/11/15\r\n* Added 'grab' property\r\n\r\n##### v1.0.0 - 2011/11/11\r\n* First release","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackmoore%2Fzoom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackmoore%2Fzoom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackmoore%2Fzoom/lists"}