shorter example
This commit is contained in:
parent
0bfa9b52b0
commit
d08aca2bce
|
@ -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"),
|
||||||
|
|
Loading…
Reference in New Issue