{"id":19878865,"url":"https://github.com/uiuniversal/magnify","last_synced_at":"2025-11-07T13:07:24.198Z","repository":{"id":184691861,"uuid":"672311710","full_name":"uiuniversal/magnify","owner":"uiuniversal","description":"Angular magnify directive","archived":false,"fork":false,"pushed_at":"2023-08-24T09:08:22.000Z","size":747,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-09T13:19:05.962Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://uiuniversal.github.io/magnify/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uiuniversal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-07-29T16:32:16.000Z","updated_at":"2023-07-30T06:18:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"84f46188-c64e-4614-a12c-c1c10aa39cd1","html_url":"https://github.com/uiuniversal/magnify","commit_stats":null,"previous_names":["uiuniversal/magnify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uiuniversal/magnify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiuniversal%2Fmagnify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiuniversal%2Fmagnify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiuniversal%2Fmagnify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiuniversal%2Fmagnify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uiuniversal","download_url":"https://codeload.github.com/uiuniversal/magnify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiuniversal%2Fmagnify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266210928,"owners_count":23893343,"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-11-12T17:06:55.106Z","updated_at":"2025-10-23T21:58:38.361Z","avatar_url":"https://github.com/uiuniversal.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Magnify\n\nMagnify directive helps to magnify the image on mouse hover. Currently it is only work if **z** is pressed and hover on image.\n\nTo implement this directive, you need to add **magnify** attribute to the image tag.\n\n```ts\nimport { Magnify } from '@ngu/magnify';\n\n@NgModule({\n  Imports: [\n    Magnify\n  ]\n})\nexport class AppModule {}\n```\n\nOr You can use it on standalone component.\n```ts\nimport { Magnify } from '@ngu/magnify';\n\n@Component({\n  standalone: true,\n  imports: [\n    Magnify\n  ],\n  selector: 'app',\n  ...\n})\n```\n\n```html\n\u003cimg src=\"image.jpg\" magnify /\u003e\n\n\u003c!-- You can make the inline false (Default: true) --\u003e\n\u003cimg src=\"image.jpg\" magnify [inline]=\"false\" [scale]=\"3\" /\u003e\n\n\u003c!-- You can specify different image too --\u003e\n\u003cimg src=\"thumnail.jpg\" magnify=\"original.jpg\" /\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuiuniversal%2Fmagnify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuiuniversal%2Fmagnify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuiuniversal%2Fmagnify/lists"}