Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit b968931

Browse files
authored
Merge pull request #8708 from volodymyrDashuk/src-magnifier-widget
magento/devdocs#: added magnifier widget file location
2 parents 913601b + 349ea4b commit b968931

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/guides/v2.3/javascript-dev-guide/widgets/widget_gallery_mg.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ title: Magnifier widget
77
Magnifier is a [widget](https://glossary.magento.com/widget) that allows displaying images in 100% scaled size in a separate dedicated layer.
88
In Magento it is used by the [gallery]({{ page.baseurl }}/javascript-dev-guide/widgets/widget_gallery.html) widget for zooming the product images on product pages. It must be enabled in your local theme `view.xml` configuration file.
99

10+
The Magnifier widget source is located in `lib/web/magnifier/magnify.js`.
11+
1012
## Initialize magnifier {#magnifier_init}
1113

1214
The magnifier widget is initialized as described in [JavaScript initialization]({{ page.baseurl }}/javascript-dev-guide/javascript/js_init.html#init_phtml).

0 commit comments

Comments
 (0)