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

Commit 4e3792f

Browse files
author
DashukVolodymyr
committed
magento/devdocs#: update example of using the gallery widget
1 parent dd00b38 commit 4e3792f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,4 +622,14 @@ require ([
622622
});
623623
});
624624
</script>
625+
```
626+
627+
The breakpoints options are set in the `view.xml` configuration file of a theme. The file is conventionally located in `<theme_dir>/etc`.
628+
629+
```xml
630+
<var name="breakpoints">
631+
<var name="%breakpoints_option1%">%option1_value%</var>
632+
<var name="%breakpoints_option2%">%option2_value%</var>
633+
...
634+
</var>
625635
```

0 commit comments

Comments
 (0)