# gallery.mjs Module for creating galleries with re-ordering ## Example ```html
Order:
``` ```js import("/js/modules/gallery.mjs").then((module) => { // Initializing the instance new module.gallery( document.getElementById("wrap"), document.getElementById("images"), document.getElementById("gallery"), true ); }); ``` CSS in the `/index.css` file ## Demonstration ### [CodePen](https://codepen.io/mirzaev-sexy/pen/RNPdYvv)
![Demonstration image](assets/1.png) ![Demonstration gif](assets/2.gif) ![Demonstration gif](assets/3.gif)