An open API service indexing awesome lists of open source software.

https://github.com/uiuniversal/magnify

Angular magnify directive
https://github.com/uiuniversal/magnify

Last synced: 6 months ago
JSON representation

Angular magnify directive

Awesome Lists containing this project

README

          

# Magnify

Magnify directive helps to magnify the image on mouse hover. Currently it is only work if **z** is pressed and hover on image.

To implement this directive, you need to add **magnify** attribute to the image tag.

```ts
import { Magnify } from '@ngu/magnify';

@NgModule({
Imports: [
Magnify
]
})
export class AppModule {}
```

Or You can use it on standalone component.
```ts
import { Magnify } from '@ngu/magnify';

@Component({
standalone: true,
imports: [
Magnify
],
selector: 'app',
...
})
```

```html


```