{"id":20672092,"url":"https://github.com/workarea-commerce/workarea-jquery-magnify","last_synced_at":"2025-08-20T06:37:04.332Z","repository":{"id":56898479,"uuid":"221314141","full_name":"workarea-commerce/workarea-jquery-magnify","owner":"workarea-commerce","description":null,"archived":false,"fork":false,"pushed_at":"2020-01-03T16:50:41.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-14T21:19:42.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/workarea-commerce.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-12T21:19:47.000Z","updated_at":"2020-01-03T16:50:38.000Z","dependencies_parsed_at":"2022-08-21T02:20:26.122Z","dependency_job_id":null,"html_url":"https://github.com/workarea-commerce/workarea-jquery-magnify","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/workarea-commerce/workarea-jquery-magnify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-jquery-magnify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-jquery-magnify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-jquery-magnify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-jquery-magnify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/workarea-commerce","download_url":"https://codeload.github.com/workarea-commerce/workarea-jquery-magnify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-jquery-magnify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271279088,"owners_count":24731900,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-16T20:31:53.285Z","updated_at":"2025-08-20T06:37:04.308Z","avatar_url":"https://github.com/workarea-commerce.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Workarea Jquery Magnify\n================================================================================\n\nNote: This work is in progress and part of the workarea-zoom plugin.\n\nAbout\n--------------------------------------------------------------------------------\nJquery Magnify let your user enlarge images on mouseover, it's a great candidate for non-touch enabled devices with a small support for touch-enabled devices.\n\nIf you are looking for a better experience on touch-enabled devices, you should check out: https://stash.tools.weblinc.com/projects/WP/repos/workarea-jquery-zoom/browse.\n\n\nGetting Started\n--------------------------------------------------------------------------------\n\nAdd the gem to your application's Gemfile:\n\n    # ...\n    gem 'workarea-jquery_magnify'\n    # ...\n\nThis Gem will mount the jquery.magnify asset in your application.\n\nExample\n--------------------------------------------------------------------------------\n\n```html\n    \u003cdiv class=\"magnify\"\u003e\n        \u003cdiv data-magnify-src=\"http://example.com/big-image.jpg\" class=\"magnify__container\"\u003e\n            \u003cimg src=\"http://example.com/small-image.jpg\" class=\"magnify__image\"\u003e\n        \u003c/div\u003e\n    \u003c/div\u003e\n```\n\n```css\n.magnify {\n    width: 320px;\n}\n\n.magnify__container {\n    position: relative;\n}\n\n.magnify__image{\n    display: block;\n    width: 100%;\n    min-width: 100%;\n}\n```\n\n```javascript\n$(document).ready(function() {\n    $('.magnify__container').magnify();\n});\n```\n\n\nOptions\n--------------------------------------------------------------------------------\n\nYou have the ability to pass your options like this:\n\n```javascript\n$('.magnify').magnify({\n    url: null,\n    touchSupport: false\n});\n```\n\nDifferent options are available:\n\nName  | Default | Description\n------------- | ------------- | -------------\ntouchSupport  | ```false``` | Enable/Disable finger gestures on touch-enabled devices\nurl | ```null``` | The url of the big magnify image, if not defined, jquery.magnify will fetch the attribute  ```data-magnify-src```given.\n\nEvents\n--------------------------------------------------------------------------------\n\nYou can destroy the widget for the instance given, it's helpful when you want to go back to a clean state.\n\n```javascript\n// Create instance\n$('.magnify__container').magnify();\n\n// Remove instance\n$('.magnify__container').trigger('magnify.destroy');\n```\n\nWorkarea Commerce Documentation\n--------------------------------------------------------------------------------\n\nSee [https://developer.workarea.com](https://developer.workarea.com) for Workarea Commerce documentation.\n\nLicense\n--------------------------------------------------------------------------------\n\nWorkarea Styled Selects is released under the [Business Software License](LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkarea-commerce%2Fworkarea-jquery-magnify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkarea-commerce%2Fworkarea-jquery-magnify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkarea-commerce%2Fworkarea-jquery-magnify/lists"}