shorter example
This commit is contained in:
@@ -19,7 +19,7 @@ Module for creating galleries with re-ordering
|
|||||||
```js
|
```js
|
||||||
import("/js/modules/gallery.mjs").then((module) => {
|
import("/js/modules/gallery.mjs").then((module) => {
|
||||||
// Initializing the instance
|
// Initializing the instance
|
||||||
const instance = new module.gallery(
|
new module.gallery(
|
||||||
document.getElementById("wrap"),
|
document.getElementById("wrap"),
|
||||||
document.getElementById("images"),
|
document.getElementById("images"),
|
||||||
document.getElementById("gallery"),
|
document.getElementById("gallery"),
|
||||||
|
Reference in New Issue
Block a user